public final class FileAttributes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FileAttributes.Builder |
static class |
FileAttributes.Flag |
Modifier and Type | Field and Description |
---|---|
static FileAttributes |
EMPTY |
Constructor and Description |
---|
FileAttributes(int mask,
long size,
int uid,
int gid,
FileMode mode,
long atime,
long mtime,
java.util.Map<java.lang.String,java.lang.String> ext) |
Modifier and Type | Method and Description |
---|---|
long |
getAtime() |
java.lang.String |
getExtended(java.lang.String type) |
int |
getGID() |
FileMode |
getMode() |
long |
getMtime() |
java.util.Set<FilePermission> |
getPermissions() |
long |
getSize() |
FileMode.Type |
getType() |
int |
getUID() |
boolean |
has(FileAttributes.Flag flag) |
byte[] |
toBytes() |
java.lang.String |
toString() |
public static final FileAttributes EMPTY
public FileAttributes(int mask, long size, int uid, int gid, FileMode mode, long atime, long mtime, java.util.Map<java.lang.String,java.lang.String> ext)
public boolean has(FileAttributes.Flag flag)
public long getSize()
public int getUID()
public int getGID()
public FileMode getMode()
public java.util.Set<FilePermission> getPermissions()
public FileMode.Type getType()
public long getAtime()
public long getMtime()
public java.lang.String getExtended(java.lang.String type)
public byte[] toBytes()
public java.lang.String toString()
toString
in class java.lang.Object