public interface FileResource
Modifier and Type | Method and Description |
---|---|
String |
absolutePath() |
String |
canonicalPath() |
boolean |
canRead() |
boolean |
canWrite() |
boolean |
exists() |
JRubyFile |
hackyGetJRubyFile() |
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
isSymLink() |
long |
lastModified() |
long |
length() |
String[] |
list() |
jnr.posix.FileStat |
lstat() |
ChannelDescriptor |
openDescriptor(ModeFlags flags,
int perm) |
InputStream |
openInputStream() |
jnr.posix.FileStat |
stat() |
String absolutePath()
String canonicalPath()
boolean exists()
boolean isDirectory()
boolean isFile()
long lastModified()
long length()
boolean canRead()
boolean canWrite()
String[] list()
File.list()
boolean isSymLink()
jnr.posix.FileStat stat()
jnr.posix.FileStat lstat()
JRubyFile hackyGetJRubyFile()
InputStream openInputStream()
ChannelDescriptor openDescriptor(ModeFlags flags, int perm) throws ResourceException
ResourceException
Copyright © 2001-2014 JRuby. All Rights Reserved.