|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.faunos.util.boot.JarDirectory
public class JarDirectory
A code source-based Directory implementation.
| Constructor Summary | |
|---|---|
JarDirectory()
|
|
JarDirectory(Class<?> clazz)
|
|
| Method Summary | |
|---|---|
File |
getDirectory()
Returns the directory. |
protected File |
getDirectoryImpl(Class<?> clazz)
Returns a directory based on the code source of the given class. |
protected String |
getPathRelativeToCodeSource()
Returns a path relative used to determine the directory path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JarDirectory()
public JarDirectory(Class<?> clazz)
| Method Detail |
|---|
public File getDirectory()
DirectoryFile object returned is
guaranteed to be an existing directory (although it may not have
existed prior to invocation).
getDirectory in interface Directoryprotected File getDirectoryImpl(Class<?> clazz)
protected String getPathRelativeToCodeSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||