public class Java7FileAttributes extends Object implements PlexusIoResourceAttributes
| Modifier and Type | Field and Description |
|---|---|
protected static int |
INDEX_GROUP_EXECUTE |
protected static int |
INDEX_GROUP_READ |
protected static int |
INDEX_GROUP_WRITE |
protected static int |
INDEX_OWNER_EXECUTE |
protected static int |
INDEX_OWNER_READ |
protected static int |
INDEX_OWNER_WRITE |
protected static int |
INDEX_WORLD_EXECUTE |
protected static int |
INDEX_WORLD_READ |
protected static int |
INDEX_WORLD_WRITE |
protected static char |
VALUE_DISABLED_MODE |
protected static char |
VALUE_EXECUTABLE_MODE |
protected static char |
VALUE_READABLE_MODE |
protected static char |
VALUE_WRITABLE_MODE |
| Constructor and Description |
|---|
Java7FileAttributes(File file,
Map<Integer,String> userCache,
Map<Integer,String> groupCache) |
protected static final char VALUE_DISABLED_MODE
protected static final char VALUE_WRITABLE_MODE
protected static final char VALUE_READABLE_MODE
protected static final char VALUE_EXECUTABLE_MODE
protected static final int INDEX_WORLD_EXECUTE
protected static final int INDEX_WORLD_WRITE
protected static final int INDEX_WORLD_READ
protected static final int INDEX_GROUP_EXECUTE
protected static final int INDEX_GROUP_WRITE
protected static final int INDEX_GROUP_READ
protected static final int INDEX_OWNER_EXECUTE
protected static final int INDEX_OWNER_WRITE
protected static final int INDEX_OWNER_READ
public Java7FileAttributes(File file, Map<Integer,String> userCache, Map<Integer,String> groupCache) throws IOException
IOExceptionprotected char[] getLsModeParts()
protected void setLsModeParts(char[] mode)
public Integer getGroupId()
PlexusIoResourceAttributesgetGroupId in interface PlexusIoResourceAttributespublic boolean hasGroupId()
public boolean hasUserId()
public String getGroupName()
getGroupName in interface PlexusIoResourceAttributespublic Integer getUserId()
PlexusIoResourceAttributesgetUserId in interface PlexusIoResourceAttributespublic String getUserName()
getUserName in interface PlexusIoResourceAttributespublic boolean isGroupExecutable()
isGroupExecutable in interface PlexusIoResourceAttributespublic boolean isGroupReadable()
isGroupReadable in interface PlexusIoResourceAttributespublic boolean isGroupWritable()
isGroupWritable in interface PlexusIoResourceAttributespublic boolean isOwnerExecutable()
isOwnerExecutable in interface PlexusIoResourceAttributespublic boolean isOwnerReadable()
isOwnerReadable in interface PlexusIoResourceAttributespublic boolean isOwnerWritable()
isOwnerWritable in interface PlexusIoResourceAttributespublic boolean isWorldExecutable()
isWorldExecutable in interface PlexusIoResourceAttributespublic boolean isWorldReadable()
isWorldReadable in interface PlexusIoResourceAttributespublic boolean isWorldWritable()
isWorldWritable in interface PlexusIoResourceAttributespublic int getOctalMode()
getOctalMode in interface PlexusIoResourceAttributespublic String getOctalModeString()
getOctalModeString in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setGroupExecutable(boolean flag)
setGroupExecutable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setGroupId(Integer gid)
setGroupId in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setGroupName(String name)
setGroupName in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setGroupReadable(boolean flag)
setGroupReadable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setGroupWritable(boolean flag)
setGroupWritable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setOwnerExecutable(boolean flag)
setOwnerExecutable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setOwnerReadable(boolean flag)
setOwnerReadable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setOwnerWritable(boolean flag)
setOwnerWritable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setUserId(Integer uid)
setUserId in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setUserName(String name)
setUserName in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setWorldExecutable(boolean flag)
setWorldExecutable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setWorldReadable(boolean flag)
setWorldReadable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setWorldWritable(boolean flag)
setWorldWritable in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setOctalMode(int mode)
setOctalMode in interface PlexusIoResourceAttributespublic PlexusIoResourceAttributes setOctalModeString(String mode)
setOctalModeString in interface PlexusIoResourceAttributesCopyright © 2001-2014 Codehaus. All Rights Reserved.