|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeFileSystem<R extends Locatable>
A FileSystem that has an associated IOPolicy and
provides save and load methods for nodes.
| Method Summary | |
|---|---|
IOPolicy<R> |
getPolicy()
Returns the IOPolicy associated with this
NodeFileSystem. |
SystemNode |
load(Locator loc,
RelativeDualReference<Locator,R> ref)
Loads a node from the file system. |
SystemNode |
load(R ref)
Loads a node from the file system. |
Locator |
save(SystemNode node)
Saves a node in the file system returning a Locator to it. |
| Methods inherited from interface org.planx.io.FileSystem |
|---|
all, allocate, allocate, clear, clearModified, close, free, getData, getMeta, id, isContained, isModified, isReadOnly, setMeta, setReadOnly, size |
| Method Detail |
|---|
IOPolicy<R> getPolicy()
IOPolicy associated with this
NodeFileSystem.
SystemNode load(R ref)
throws IOException
load in interface Loader<R extends Locatable,SystemNode>IOException
SystemNode load(Locator loc,
RelativeDualReference<Locator,R> ref)
throws IOException
IOException
Locator save(SystemNode node)
throws IOException
Locator to it.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||