Examples of PlexusIoResourceAttributes


Examples of org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes

            else
            {
                te.setMode( entry.getMode() );
            }
           
            PlexusIoResourceAttributes attributes = entry.getResourceAttributes();
           
            te.setUserName( ( attributes != null && attributes.getUserName() != null ) ? attributes.getUserName()
                            : options.getUserName() );
            te.setGroupName( ( attributes != null && attributes.getGroupName() != null ) ? attributes.getGroupName()
                            : options.getGroup() );

            final int userId =
                ( attributes != null && attributes.getUserId() != null ) ? attributes.getUserId() : options.getUid();
            if ( userId > 0 )
            {
                te.setUserId( userId );
            }

            final int groupId =
                ( attributes != null && attributes.getGroupId() != null ) ? attributes.getGroupId() : options.getGid();
            if ( groupId > 0 )
            {
                te.setGroupId( groupId );
            }
View Full Code Here

Examples of org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes

            else
            {
                te.setMode( entry.getMode() );
            }
           
            PlexusIoResourceAttributes attributes = entry.getResourceAttributes();
           
            te.setUserName( ( attributes != null && attributes.getUserName() != null ) ? attributes.getUserName()
                            : options.getUserName() );
            te.setGroupName( ( attributes != null && attributes.getGroupName() != null ) ? attributes.getGroupName()
                            : options.getGroup() );

            final int userId =
                ( attributes != null && attributes.getUserId() != null ) ? attributes.getUserId() : options.getUid();
            if ( userId > 0 )
            {
                te.setUserId( userId );
            }

            final int groupId =
                ( attributes != null && attributes.getGroupId() != null ) ? attributes.getGroupId() : options.getGid();
            if ( groupId > 0 )
            {
                te.setGroupId( groupId );
            }
View Full Code Here

Examples of org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes

            else
            {
                te.setMode( entry.getMode() );
            }
           
            PlexusIoResourceAttributes attributes = entry.getResourceAttributes();
           
            te.setUserName( ( attributes != null && attributes.getUserName() != null ) ? attributes.getUserName()
                            : options.getUserName() );
            te.setGroupName( ( attributes != null && attributes.getGroupName() != null ) ? attributes.getGroupName()
                            : options.getGroup() );
            te.setUserId( ( attributes != null && attributes.getUserId() != null) ? attributes.getUserId()
                            : options.getUid() );
            te.setGroupId( ( attributes != null && attributes.getGroupId() != null) ? attributes.getGroupId()
                            : options.getGid() );

            tOut.putNextEntry( te );

            if ( !entry.getResource().isDirectory() )
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.