| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv BasicFileAttributes | |
| pack-priv DosFileAttributes | |
| pack-priv PosixFileAttributes | |
| pack-priv short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | atime()
Implements jnr. |
| private short | |
| private static short | |
| public long | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | |
| public long | |
| public void | |
| public long | st_size()
Implements jnr. Note Name 'st_size' since Structure has a 'size' method already |
| attrs | back to summary |
|---|---|
| pack-priv BasicFileAttributes attrs | |
| dosAttrs | back to summary |
|---|---|
| pack-priv DosFileAttributes dosAttrs | |
| posixAttrs | back to summary |
|---|---|
| pack-priv PosixFileAttributes posixAttrs | |
| st_mode | back to summary |
|---|---|
| pack-priv short st_mode | |
| JavaFileStat | back to summary |
|---|---|
| public JavaFileStat(POSIX posix, POSIXHandler handler) | |
| atime | back to summary |
|---|---|
| public long atime() Implements jnr. Limitation: Java has no access time support, so we return mtime as the next best thing. | |
| calculateMode | back to summary |
|---|---|
| private short calculateMode(File file, short st_mode) | |
| calculateSymlink | back to summary |
|---|---|
| private static short calculateSymlink(File file, short st_mode) throws IOException | |
| ctime | back to summary |
|---|---|
| public long ctime() Implements jnr. | |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Implements jnr. | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements jnr. | |
| isExecutable | back to summary |
|---|---|
| public boolean isExecutable() Implements jnr. | |
| isExecutableReal | back to summary |
|---|---|
| public boolean isExecutableReal() Implements jnr. | |
| isFile | back to summary |
|---|---|
| public boolean isFile() Implements jnr. | |
| isGroupOwned | back to summary |
|---|---|
| public boolean isGroupOwned() Implements jnr. | |
| isIdentical | back to summary |
|---|---|
| public boolean isIdentical(FileStat other) Implements jnr. | |
| isOwned | back to summary |
|---|---|
| public boolean isOwned() Implements jnr. | |
| isReadable | back to summary |
|---|---|
| public boolean isReadable() Implements jnr. | |
| isReadableReal | back to summary |
|---|---|
| public boolean isReadableReal() Implements jnr. | |
| isROwned | back to summary |
|---|---|
| public boolean isROwned() Implements jnr. | |
| isSymlink | back to summary |
|---|---|
| public boolean isSymlink() Implements jnr. | |
| isWritable | back to summary |
|---|---|
| public boolean isWritable() Implements jnr. | |
| isWritableReal | back to summary |
|---|---|
| public boolean isWritableReal() Implements jnr. | |
| mode | back to summary |
|---|---|
| public int mode() Implements jnr. | |
| mtime | back to summary |
|---|---|
| public long mtime() Implements jnr. | |
| setup | back to summary |
|---|---|
| public void setup(String filePath) | |
| st_size | back to summary |
|---|---|
| public long st_size() Implements jnr. Doc from jnr. Note Name 'st_size' since Structure has a 'size' method already
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FileTime | creationTime()
Implements java. |
| public Object | fileKey()
Implements java. null if a file key is not available.
|
| public boolean | isDirectory()
Implements java. |
| public boolean | isOther()
Implements java. |
| public boolean | isRegularFile()
Implements java. |
| public boolean | isSymbolicLink()
Implements java. |
| public FileTime | lastAccessTime()
Implements java. |
| public FileTime | lastModifiedTime()
Implements java. |
| public long | size()
Implements java. |
| directory | back to summary |
|---|---|
| pack-priv final boolean directory | |
| regularFile | back to summary |
|---|---|
| pack-priv final boolean regularFile | |
| st_ctime | back to summary |
|---|---|
| pack-priv final int st_ctime | |
| st_mtime | back to summary |
|---|---|
| pack-priv final int st_mtime | |
| st_size | back to summary |
|---|---|
| pack-priv final long st_size | |
| PreNIO2FileAttributes | back to summary |
|---|---|
| pack-priv PreNIO2FileAttributes(File file) | |
| 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
| |