public class EbeDocumentManager
extends java.lang.Object
| Constructor and Description |
|---|
EbeDocumentManager()
Reads the schema files, setup classes and init the pool
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaults()
Add defaults directories, and load the files.
|
void |
addDirectory(java.lang.String path)
Add a specific directory to the manager
|
void |
deleteDocument(java.lang.String name)
Permanently delete from the HD the file
|
java.util.TreeMap<java.lang.String,EbeDocument> |
getDocuments()
Get the document TreeMap
|
void |
loadDocument(java.lang.String path)
Load the document information from the path, and creates a new doc.
|
void |
newDocument(java.lang.String path,
java.lang.String name)
Create a new document (a new file).
|
void |
removeAll()
Remove all the documents from the manager
|
void |
removeDocument(java.lang.String name)
Remove a document from the manager by name.
|
public EbeDocumentManager()
public void newDocument(java.lang.String path,
java.lang.String name)
path - the path where the file should bename - the document internal namepublic void loadDocument(java.lang.String path)
path - the filepath to load frompublic void removeDocument(java.lang.String name)
name - the name to removepublic void removeAll()
public void deleteDocument(java.lang.String name)
name - the filename to removepublic void addDefaults()
public void addDirectory(java.lang.String path)
path - the directory Path.public java.util.TreeMap<java.lang.String,EbeDocument> getDocuments()