|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.universe.UniverseAnchor
public class UniverseAnchor
An anchor in a universe.
Version History
EPG - Initial - 5 SEP 07
Constructor Summary | |
---|---|
UniverseAnchor(java.lang.String anchorRoot,
Universe theUniverse)
Constructor. |
Method Summary | |
---|---|
java.io.File |
getLocal(java.lang.String path)
Get a local file for the object. |
Universe |
getUniverseAccessor()
Get the universe itself. |
boolean |
hasObject(java.lang.String path)
Does the object exist? |
void |
releaseLocal(java.io.File local)
Release the local. |
java.lang.String |
resolvePath(java.lang.String path)
Resolve the path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniverseAnchor(java.lang.String anchorRoot, Universe theUniverse) throws java.lang.Throwable
anchorRoot
- the path into the universe to the anchor spottheUniverse
- the universe in question
java.lang.Throwable
- if either is null it'll throw an exceptionMethod Detail |
---|
public boolean hasObject(java.lang.String path) throws UniverseException
path
- from the anchor.
UniverseException
public java.lang.String resolvePath(java.lang.String path)
path
- from the anchor.
public java.io.File getLocal(java.lang.String path) throws UniverseException
path
-
UniverseException
public Universe getUniverseAccessor() throws UniverseException
UniverseException
public void releaseLocal(java.io.File local)
local
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |