Interface PlexusIoResourceAttributes
- All Known Implementing Classes:
- FileAttributes, PlexusIoProxyResourceAttributes, SimpleResourceAttributes, UserGroupModeFileAttributes
public interface PlexusIoResourceAttributes
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionGets the unix group id.The group name.intOctal mode attributes.Gets the unix user id.Returns the user name of the user owning the file.booleanbooleanbooleanbooleanbooleanbooleanbooleanIndicates if this is a symbolic link element.booleanbooleanboolean
- 
Field Details- 
UNKNOWN_OCTAL_MODEstatic final int UNKNOWN_OCTAL_MODE- See Also:
 
 
- 
- 
Method Details- 
isOwnerReadableboolean isOwnerReadable()
- 
isOwnerWritableboolean isOwnerWritable()
- 
isOwnerExecutableboolean isOwnerExecutable()
- 
isGroupReadableboolean isGroupReadable()
- 
isGroupWritableboolean isGroupWritable()
- 
isGroupExecutableboolean isGroupExecutable()
- 
isWorldReadableboolean isWorldReadable()
- 
isWorldWritableboolean isWorldWritable()
- 
isWorldExecutableboolean isWorldExecutable()
- 
getUserIdInteger getUserId()Gets the unix user id.- Returns:
- The unix user id, may be null ("not set"), even on unix
 
- 
getGroupId
- 
getUserName
- 
getGroupName
- 
getOctalModeint getOctalMode()Octal mode attributes.UNKNOWN_OCTAL_MODEif unsupported on current file/file system
- 
isSymbolicLinkboolean isSymbolicLink()Indicates if this is a symbolic link element. For file-based resource attributes this value may be always "false" for versions prior to java7.- Returns:
- True if the file is a symlink or false if not.
 
 
-