public interface FileAttributes
Modifier and Type | Method and Description |
---|---|
long |
creationTime() |
List<AclEntry> |
getAcl()
Reads the access control list.
|
String |
group() |
boolean |
isDirectory() |
boolean |
isExecutable() |
boolean |
isHidden() |
boolean |
isOther() |
boolean |
isReadable() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
boolean |
isWritable() |
long |
lastAccessTime() |
long |
lastModifiedTime() |
String |
owner() |
Set<PosixFilePermission> |
permissions() |
long |
size() |
boolean isDirectory() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isOther() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isRegularFile() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isSymbolicLink() throws AttributeNotSupportedException
AttributeNotSupportedException
long creationTime() throws AttributeNotSupportedException
AttributeNotSupportedException
long lastAccessTime() throws AttributeNotSupportedException
AttributeNotSupportedException
long lastModifiedTime() throws AttributeNotSupportedException
AttributeNotSupportedException
long size() throws AttributeNotSupportedException
AttributeNotSupportedException
String group() throws AttributeNotSupportedException
AttributeNotSupportedException
String owner() throws AttributeNotSupportedException
AttributeNotSupportedException
Set<PosixFilePermission> permissions() throws AttributeNotSupportedException
AttributeNotSupportedException
List<AclEntry> getAcl() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isExecutable() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isHidden() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isReadable() throws AttributeNotSupportedException
AttributeNotSupportedException
boolean isWritable() throws AttributeNotSupportedException
AttributeNotSupportedException