|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for modifying a Directory.
Nested Class Summary |
Nested classes inherited from class org.nodal.filesystem.Directory |
Directory.Editor |
Method Summary | |
Document |
createDocument(java.lang.String name,
DocumentFormat type)
Create a new Document conforming to the given DocumentFormat. |
Document |
createDocument(java.lang.String name,
java.lang.String mimeType)
Create a new Document conforming to the DocumentFormat identified by the given MIME type string. |
Directory |
createSubdirectory(java.lang.String name)
Create a subdirectory of this Directory. |
Document |
link(java.lang.String name,
Document doc)
Attach a Document to this Directory with the given name. |
boolean |
unlink(java.lang.String name)
Detach a Document from this Directory. |
Methods inherited from interface org.nodal.filesystem.Directory |
edit, entries, get |
Methods inherited from interface org.nodal.filesystem.Document |
asDirectory, docNode, format, nodeNamed, nodeNamed, path, repository, root, write |
Method Detail |
public Directory createSubdirectory(java.lang.String name)
public Document createDocument(java.lang.String name, DocumentFormat type)
public Document createDocument(java.lang.String name, java.lang.String mimeType)
public Document link(java.lang.String name, Document doc)
name
- the name of the linked Documentdoc
- the Document to place at this location
public boolean unlink(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |