public abstract class JarResource extends Object implements FileResource
| Modifier | Constructor and Description |
|---|---|
protected |
JarResource(String jarPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
absolutePath() |
boolean |
canRead() |
boolean |
canWrite() |
static JarResource |
create(String pathname) |
protected abstract String |
entryName() |
boolean |
exists() |
JRubyFile |
hackyGetJRubyFile() |
boolean |
isSymLink() |
jnr.posix.FileStat |
lstat(jnr.posix.POSIX posix) |
jnr.posix.FileStat |
stat(jnr.posix.POSIX posix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDirectory, isFile, lastModified, length, listprotected JarResource(String jarPath)
public static JarResource create(String pathname)
public String absolutePath()
absolutePath in interface FileResourcepublic boolean exists()
exists in interface FileResourcepublic boolean canRead()
canRead in interface FileResourcepublic boolean canWrite()
canWrite in interface FileResourcepublic boolean isSymLink()
isSymLink in interface FileResourcepublic jnr.posix.FileStat stat(jnr.posix.POSIX posix)
stat in interface FileResourcepublic jnr.posix.FileStat lstat(jnr.posix.POSIX posix)
lstat in interface FileResourcepublic JRubyFile hackyGetJRubyFile()
hackyGetJRubyFile in interface FileResourceprotected abstract String entryName()
Copyright © 2001-2014 JRuby. All Rights Reserved.