public class TextAnnotationDBHandler extends Object implements TextAnnotationCache
| Constructor and Description |
|---|
TextAnnotationDBHandler(String dbFile,
String[] datasetNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTextAnnotation(String dataset,
TextAnnotation ta) |
boolean |
contains(TextAnnotation ta) |
IResetableIterator<TextAnnotation> |
getDataset(String dataset) |
TextAnnotation |
getTextAnnotation(TextAnnotation ta) |
void |
initializeDatasets(String dbFile) |
void |
removeTextAnnotation(TextAnnotation ta) |
void |
updateTextAnnotation(TextAnnotation ta) |
public void initializeDatasets(String dbFile)
public void addTextAnnotation(String dataset, TextAnnotation ta)
addTextAnnotation in interface TextAnnotationCachepublic void updateTextAnnotation(TextAnnotation ta)
updateTextAnnotation in interface TextAnnotationCachepublic IResetableIterator<TextAnnotation> getDataset(String dataset)
getDataset in interface TextAnnotationCachepublic boolean contains(TextAnnotation ta)
contains in interface TextAnnotationCachepublic void removeTextAnnotation(TextAnnotation ta)
removeTextAnnotation in interface TextAnnotationCachepublic TextAnnotation getTextAnnotation(TextAnnotation ta)
getTextAnnotation in interface TextAnnotationCacheCopyright © 2017. All rights reserved.