| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private volatile GroupPrincipal | |
| private volatile UnixFileKey | |
| private volatile UserPrincipal | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private int | |
| private long | |
| private int | |
| private long | |
| private long | |
| private int | |
| private long | |
| private long | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv BasicFileAttributes | |
| public FileTime | creationTime()
Implements java. Returns the creation time. |
| pack-priv FileTime | |
| pack-priv long | |
| public UnixFileKey | fileKey()
Implements java. Returns an object that uniquely identifies the given file, or |
| pack-priv static UnixFileAttributes | |
| pack-priv static UnixFileAttributes | |
| pack-priv static UnixFileAttributes | |
| pack-priv static UnixFileAttributes | |
| pack-priv static UnixFileAttributes | |
| pack-priv int | |
| public GroupPrincipal | group()
Implements java. Returns the group owner of the file. |
| pack-priv long | |
| pack-priv boolean | |
| public boolean | isDirectory()
Implements java. Tells whether the file is a directory. |
| public boolean | isOther()
Implements java. Tells whether the file is something other than a regular file, directory, or symbolic link. |
| public boolean | isRegularFile()
Implements java. Tells whether the file is a regular file with opaque content. |
| pack-priv boolean | |
| public boolean | isSymbolicLink()
Implements java. Tells whether the file is a symbolic link. |
| public FileTime | lastAccessTime()
Implements java. Returns the time of last access. |
| public FileTime | lastModifiedTime()
Implements java. Returns the time of last modification. |
| pack-priv int | |
| pack-priv int | |
| public UserPrincipal | |
| public Set | permissions()
Implements java. Returns the permissions of the file. |
| pack-priv long | |
| public long | size()
Implements java. Returns the size of the file (in bytes). |
| private static FileTime | |
| pack-priv int |
| birthtime_available | back to summary |
|---|---|
| private boolean birthtime_available | |
| group | back to summary |
|---|---|
| private volatile GroupPrincipal group | |
| key | back to summary |
|---|---|
| private volatile UnixFileKey key | |
| owner | back to summary |
|---|---|
| private volatile UserPrincipal owner | |
| st_atime_nsec | back to summary |
|---|---|
| private long st_atime_nsec | |
| st_atime_sec | back to summary |
|---|---|
| private long st_atime_sec | |
| st_birthtime_nsec | back to summary |
|---|---|
| private long st_birthtime_nsec | |
| st_birthtime_sec | back to summary |
|---|---|
| private long st_birthtime_sec | |
| st_ctime_nsec | back to summary |
|---|---|
| private long st_ctime_nsec | |
| st_ctime_sec | back to summary |
|---|---|
| private long st_ctime_sec | |
| st_dev | back to summary |
|---|---|
| private long st_dev | |
| st_gid | back to summary |
|---|---|
| private int st_gid | |
| st_ino | back to summary |
|---|---|
| private long st_ino | |
| st_mode | back to summary |
|---|---|
| private int st_mode | |
| st_mtime_nsec | back to summary |
|---|---|
| private long st_mtime_nsec | |
| st_mtime_sec | back to summary |
|---|---|
| private long st_mtime_sec | |
| st_nlink | back to summary |
|---|---|
| private int st_nlink | |
| st_rdev | back to summary |
|---|---|
| private long st_rdev | |
| st_size | back to summary |
|---|---|
| private long st_size | |
| st_uid | back to summary |
|---|---|
| private int st_uid | |
| UnixFileAttributes | back to summary |
|---|---|
| private UnixFileAttributes() | |
| asBasicFileAttributes | back to summary |
|---|---|
| pack-priv BasicFileAttributes asBasicFileAttributes() | |
| creationTime | back to summary |
|---|---|
| public FileTime creationTime() Implements java. Doc from java. Returns the creation time. The creation time is the time that the file was created. If the file system implementation does not support a time stamp
to indicate the time when the file was created then this method returns
an implementation specific default value, typically the
| |
| ctime | back to summary |
|---|---|
| pack-priv FileTime ctime() | |
| dev | back to summary |
|---|---|
| pack-priv long dev() | |
| fileKey | back to summary |
|---|---|
| public UnixFileKey fileKey() Implements java. Doc from java. Returns an object that uniquely identifies the given file, or The file key returned by this method can only be guaranteed to be unique if the file system and files remain static. Whether a file system re-uses identifiers after a file is deleted is implementation dependent and therefore unspecified. File keys returned by this method can be compared for equality and are
suitable for use in collections. If the file system and files remain static,
and two files are the
| |
| get | back to summary |
|---|---|
| pack-priv static UnixFileAttributes get(UnixPath path, boolean followLinks) throws UnixException | |
| get | back to summary |
|---|---|
| pack-priv static UnixFileAttributes get(int fd) throws UnixException | |
| get | back to summary |
|---|---|
| pack-priv static UnixFileAttributes get(int dfd, UnixPath path, boolean followLinks) throws UnixException | |
| getIfExists | back to summary |
|---|---|
| pack-priv static UnixFileAttributes getIfExists(UnixPath path) throws UnixException | |
| getIfExists | back to summary |
|---|---|
| pack-priv static UnixFileAttributes getIfExists(UnixPath path, boolean followLinks) throws UnixException | |
| gid | back to summary |
|---|---|
| pack-priv int gid() | |
| group | back to summary |
|---|---|
| public GroupPrincipal group() Implements java. Doc from java. Returns the group owner of the file.
| |
| ino | back to summary |
|---|---|
| pack-priv long ino() | |
| isDevice | back to summary |
|---|---|
| pack-priv boolean isDevice() | |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Implements java. Doc from java. Tells whether the file is a directory.
| |
| isOther | back to summary |
|---|---|
| public boolean isOther() Implements java. Doc from java. Tells whether the file is something other than a regular file, directory, or symbolic link.
| |
| isRegularFile | back to summary |
|---|---|
| public boolean isRegularFile() Implements java. Doc from java. Tells whether the file is a regular file with opaque content.
| |
| isSameFile | back to summary |
|---|---|
| pack-priv boolean isSameFile(UnixFileAttributes attrs) | |
| isSymbolicLink | back to summary |
|---|---|
| public boolean isSymbolicLink() Implements java. Doc from java. Tells whether the file is a symbolic link.
| |
| lastAccessTime | back to summary |
|---|---|
| public FileTime lastAccessTime() Implements java. Doc from java. Returns the time of last access. If the file system implementation does not support a time stamp
to indicate the time of last access then this method returns
an implementation specific default value, typically the
| |
| lastModifiedTime | back to summary |
|---|---|
| public FileTime lastModifiedTime() Implements java. Doc from java. Returns the time of last modification. If the file system implementation does not support a time stamp
to indicate the time of last modification then this method returns an
implementation specific default value, typically a
| |
| mode | back to summary |
|---|---|
| pack-priv int mode() | |
| nlink | back to summary |
|---|---|
| pack-priv int nlink() | |
| owner | back to summary |
|---|---|
| public UserPrincipal owner() Implements java. Doc from java. Returns the owner of the file.
| |
| permissions | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns the permissions of the file. The file permissions are returned
as a set of
| |
| rdev | back to summary |
|---|---|
| pack-priv long rdev() | |
| size | back to summary |
|---|---|
| public long size() Implements java. Doc from java. Returns the size of the file (in bytes). The size may differ from the
actual size on the file system due to compression, support for sparse
files, or other reasons. The size of files that are not
| |
| toFileTime | back to summary |
|---|---|
| private static FileTime toFileTime(long sec, long nsec) | |
| uid | back to summary |
|---|---|
| pack-priv int uid() | |
| Modifier and Type | Field and Description |
|---|---|
| private final UnixFileAttributes |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public FileTime | creationTime()
Implements java. Returns the creation time. |
| public Object | fileKey()
Implements java. Returns an object that uniquely identifies the given file, or |
| public boolean | isDirectory()
Implements java. Tells whether the file is a directory. |
| public boolean | isOther()
Implements java. Tells whether the file is something other than a regular file, directory, or symbolic link. |
| public boolean | isRegularFile()
Implements java. Tells whether the file is a regular file with opaque content. |
| public boolean | isSymbolicLink()
Implements java. Tells whether the file is a symbolic link. |
| public FileTime | lastAccessTime()
Implements java. Returns the time of last access. |
| public FileTime | lastModifiedTime()
Implements java. Returns the time of last modification. |
| public long | size()
Implements java. Returns the size of the file (in bytes). |
| pack-priv static UnixFileAttributes. |
| attrs | back to summary |
|---|---|
| private final UnixFileAttributes attrs | |
| UnixAsBasicFileAttributes | back to summary |
|---|---|
| private UnixAsBasicFileAttributes(UnixFileAttributes attrs) | |
| creationTime | back to summary |
|---|---|
| public FileTime creationTime() Implements java. Doc from java. Returns the creation time. The creation time is the time that the file was created. If the file system implementation does not support a time stamp
to indicate the time when the file was created then this method returns
an implementation specific default value, typically the
| |
| fileKey | back to summary |
|---|---|
| public Object fileKey() Implements java. Doc from java. Returns an object that uniquely identifies the given file, or The file key returned by this method can only be guaranteed to be unique if the file system and files remain static. Whether a file system re-uses identifiers after a file is deleted is implementation dependent and therefore unspecified. File keys returned by this method can be compared for equality and are
suitable for use in collections. If the file system and files remain static,
and two files are the
| |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Implements java. Doc from java. Tells whether the file is a directory.
| |
| isOther | back to summary |
|---|---|
| public boolean isOther() Implements java. Doc from java. Tells whether the file is something other than a regular file, directory, or symbolic link.
| |
| isRegularFile | back to summary |
|---|---|
| public boolean isRegularFile() Implements java. Doc from java. Tells whether the file is a regular file with opaque content.
| |
| isSymbolicLink | back to summary |
|---|---|
| public boolean isSymbolicLink() Implements java. Doc from java. Tells whether the file is a symbolic link.
| |
| lastAccessTime | back to summary |
|---|---|
| public FileTime lastAccessTime() Implements java. Doc from java. Returns the time of last access. If the file system implementation does not support a time stamp
to indicate the time of last access then this method returns
an implementation specific default value, typically the
| |
| lastModifiedTime | back to summary |
|---|---|
| public FileTime lastModifiedTime() Implements java. Doc from java. Returns the time of last modification. If the file system implementation does not support a time stamp
to indicate the time of last modification then this method returns an
implementation specific default value, typically a
| |
| size | back to summary |
|---|---|
| public long size() Implements java. Doc from java. Returns the size of the file (in bytes). The size may differ from the
actual size on the file system due to compression, support for sparse
files, or other reasons. The size of files that are not
| |
| wrap | back to summary |
|---|---|
| pack-priv static UnixFileAttributes. | |