public class FileIndexManager
extends java.lang.Object
HashMap Key: the filename Value: TreeSet containing all the Data referencing this file
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
FileIndexManager() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.util.TreeSet<Data>> |
getIndex() |
java.util.TreeSet<Data> |
getIndexedDataSet(java.lang.String filename)
Returns the Set of data bound to the given filename (typically a FileDocument).
|
java.util.TreeSet<Data> |
getIndexedDataSet(java.lang.String filename,
boolean searchInDB)
Returns the Set of data bound to the given filename (typically a FileDocument or a DBFileDocument).
|
public static final java.lang.String REVISION
public java.util.HashMap<java.lang.String,java.util.TreeSet<Data>> getIndex()
public java.util.TreeSet<Data> getIndexedDataSet(java.lang.String filename)
filename
- the filenamepublic java.util.TreeSet<Data> getIndexedDataSet(java.lang.String filename, boolean searchInDB)
filename
- the filenamesearchInDB
- if true extends the search to JcmsDBCopyright © 2001-2017 Jalios SA. All Rights Reserved.