public class JavaFileStat extends AbstractJavaFileStat
handler, posix| Constructor and Description |
|---|
JavaFileStat(POSIX posix,
POSIXHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
long |
atime()
Limitation: Java has no access time support, so we return mtime as the next best thing.
|
long |
ctime() |
boolean |
isDirectory() |
boolean |
isEmpty() |
boolean |
isExecutable() |
boolean |
isExecutableReal() |
boolean |
isFile() |
boolean |
isGroupOwned() |
boolean |
isIdentical(FileStat other) |
boolean |
isOwned() |
boolean |
isReadable() |
boolean |
isReadableReal() |
boolean |
isROwned() |
boolean |
isSymlink() |
boolean |
isWritable() |
boolean |
isWritableReal() |
int |
mode() |
long |
mtime() |
void |
setup(String filePath) |
long |
st_size()
Note: Name 'st_size' since Structure has a 'size' method already
|
public JavaFileStat(POSIX posix, POSIXHandler handler)
public void setup(String filePath)
public long atime()
public long ctime()
public boolean isDirectory()
public boolean isEmpty()
public boolean isExecutable()
public boolean isExecutableReal()
public boolean isFile()
public boolean isGroupOwned()
public boolean isIdentical(FileStat other)
public boolean isOwned()
public boolean isROwned()
public boolean isReadable()
public boolean isReadableReal()
public boolean isSymlink()
public boolean isWritable()
public boolean isWritableReal()
public int mode()
public long mtime()
public long st_size()
FileStatCopyright © 2020. All rights reserved.