org.wdssii.core
Class FamIndex
java.lang.Object
org.wdssii.core.Index
org.wdssii.core.FamIndex
public class FamIndex
- extends Index
Index that reads a code_index.fam listing
- Author:
- lakshman
Methods inherited from class org.wdssii.core.Index |
addRecByTypeTime, addRecord, addRecordListener, getDataTypes, getFirstRecordByTime, getIndexLocation, getLastRecordByTime, getNextSelection, getNextSelection, getRecord, getRecord, getRecordsByTypeTime, numRecordsByTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
initComplete
private boolean initComplete
indexDir
private final File indexDir
helper
private final FamIndexHelper helper
saxParser
private final SAXParser saxParser
FamIndex
public FamIndex()
- meant for prototype factory use only.
FamIndex
public FamIndex(File path,
Set<IndexRecordListener> listeners)
throws DataUnavailableException
- Throws:
DataUnavailableException
update
public void update()
- Description copied from class:
Index
- The update() method will be called periodically. The implementation is
allowed to ignore update() calls that happen at inconvenient times.
- Specified by:
update
in class Index
addRecord
private void addRecord(File file)
newInstance
public Index newInstance(String path,
Set<IndexRecordListener> listeners)
throws DataUnavailableException
- Description copied from class:
Index
- Create a brand-new Index with these listeners attached.
- Specified by:
newInstance
in class Index
- Throws:
DataUnavailableException