|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.vfs.File
public final class File
Field Summary | |
---|---|
private LinkedHashMap<Key,File> |
children
. |
private FS |
fs
. |
private LinkedList<Handle<?>> |
handles
. |
private static org.slf4j.Logger |
log
. |
private Path |
path
. |
Constructor Summary | |
---|---|
File(FS fs,
Path path)
|
Method Summary | |
---|---|
File |
child(String name,
boolean dir)
|
Iterable<File> |
children()
|
(package private) LinkedList<Handle<?>> |
getHandles()
|
String |
getName()
|
Path |
getPath()
|
Resource |
getResource()
|
URL |
getURL()
|
Iterable<URL> |
getURLs()
|
boolean |
isDir()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final org.slf4j.Logger log
private final FS fs
private final Path path
private LinkedList<Handle<?>> handles
private LinkedHashMap<Key,File> children
Constructor Detail |
---|
public File(FS fs, Path path)
Method Detail |
---|
public Path getPath()
public boolean isDir()
public String getName()
public Resource getResource() throws IOException
IOException
public URL getURL() throws IOException
IOException
public Iterable<URL> getURLs() throws IOException
IOException
public File child(String name, boolean dir) throws IOException
IOException
public Iterable<File> children() throws IOException
IOException
LinkedList<Handle<?>> getHandles()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |