Package org.codehaus.plexus.components.io.attributes

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


    public synchronized PlexusIoResourceAttributes getAttributes()
    {
        if ( attributes == null )
        {
            attributes = new SimpleResourceAttributes();
            attributes.setUserId( entry.getUserId() );
            attributes.setUserName( entry.getUserName() );
            attributes.setGroupId( entry.getGroupId() );
            attributes.setGroupName( entry.getGroupName() );
            attributes.setOctalMode( entry.getMode() );
View Full Code Here


    public synchronized PlexusIoResourceAttributes getAttributes()
    {
        if ( attributes == null )
        {
            attributes = new SimpleResourceAttributes();
            attributes.setUserId( entry.getUserId() );
            attributes.setUserName( entry.getUserName() );
            attributes.setGroupId( entry.getGroupId() );
            attributes.setGroupName( entry.getGroupName() );
            attributes.setOctalMode( entry.getMode() );
View Full Code Here

            mode = mode & ~UnixStat.DIR_FLAG;
        }
       
        if ( attributes == null )
        {
            attributes = new SimpleResourceAttributes();
            attributes.setOctalMode( mode );
        }
       
        return attributes;
    }
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.components.io.attributes.SimpleResourceAttributes

Copyright © 2018 www.massapicom. 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.