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

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


        super( logger );
    }
   
    public void setDefaultAttributes( int uid, String userName, int gid, String groupName, int fileMode, int dirMode )
    {
        defaultFileAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        defaultFileAttributes.setOctalMode( fileMode );
       
        defaultDirAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        defaultDirAttributes.setOctalMode( dirMode );
    }
View Full Code Here


        defaultDirAttributes.setOctalMode( dirMode );
    }
   
    public void setOverrideAttributes( int uid, String userName, int gid, String groupName, int fileMode, int dirMode )
    {
        overrideFileAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        overrideFileAttributes.setOctalMode( fileMode );
       
        overrideDirAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        overrideDirAttributes.setOctalMode( dirMode );
    }
View Full Code Here

    private static PlexusIoResourceAttributes createResourceAttributes( final int uid, final String userName,
                                                                        final int gid, final String groupName,
                                                                        final int mode )
    {
        final FileAttributes fileAttributes = new FileAttributes( uid, userName, gid, groupName, new char[] {} );
        if ( mode >= 0 )
        {
            fileAttributes.setOctalMode( mode );
        }
        return fileAttributes;
    }
View Full Code Here

        super( logger );
    }
   
    public void setDefaultAttributes( int uid, String userName, int gid, String groupName, int fileMode, int dirMode )
    {
        defaultFileAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        if ( fileMode >= 0 )
        {
            defaultFileAttributes.setOctalMode( fileMode );
        }
       
        defaultDirAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        if ( dirMode >= 0 )
        {
            defaultDirAttributes.setOctalMode( dirMode );
        }
    }
View Full Code Here

        }
    }
   
    public void setOverrideAttributes( int uid, String userName, int gid, String groupName, int fileMode, int dirMode )
    {
        overrideFileAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        if ( fileMode >= 0 )
        {
            overrideFileAttributes.setOctalMode( fileMode );
        }
       
        overrideDirAttributes = new FileAttributes( uid, userName, gid, groupName, new char[]{} );
        if ( dirMode >= 0 )
        {
            overrideDirAttributes.setOctalMode( dirMode );
        }
    }
View Full Code Here

TOP

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

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.