public interface FileResource
Modifier and Type | Method and Description |
---|---|
String |
absolutePath() |
boolean |
canRead() |
boolean |
canWrite() |
boolean |
exists() |
JRubyFile |
hackyGetJRubyFile() |
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
isSymLink() |
long |
lastModified() |
long |
length() |
String[] |
list() |
jnr.posix.FileStat |
lstat(jnr.posix.POSIX posix) |
jnr.posix.FileStat |
stat(jnr.posix.POSIX posix) |
String absolutePath()
boolean exists()
boolean isDirectory()
boolean isFile()
long lastModified()
long length()
boolean canRead()
boolean canWrite()
boolean isSymLink()
jnr.posix.FileStat stat(jnr.posix.POSIX posix)
jnr.posix.FileStat lstat(jnr.posix.POSIX posix)
JRubyFile hackyGetJRubyFile()
Copyright © 2001-2014 JRuby. All Rights Reserved.