public class FourSectionDictionary extends BaseDictionary
objects, predicates, shared, spec, subjects| Constructor and Description |
|---|
FourSectionDictionary(HDTOptions spec) |
FourSectionDictionary(HDTOptions spec,
DictionarySectionPrivate s,
DictionarySectionPrivate p,
DictionarySectionPrivate o,
DictionarySectionPrivate sh) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getType() |
void |
load(InputStream input,
ControlInfo ci,
ProgressListener listener)
Loads a dictionary from a InputStream
|
void |
load(TempDictionary other,
ProgressListener listener)
Loads all information from another dictionary into this dictionary.
|
void |
mapFromFile(CountInputStream in,
File f,
ProgressListener listener) |
void |
populateHeader(Header header,
String rootNode) |
void |
save(OutputStream output,
ControlInfo ci,
ProgressListener listener)
Saves the dictionary to a OutputStream
|
getGlobalId, getLocalId, getNobjects, getNpredicates, getNshared, getNsubjects, getNumberOfElements, getObjects, getPredicates, getShared, getSubjects, idToString, size, stringToIdpublic FourSectionDictionary(HDTOptions spec, DictionarySectionPrivate s, DictionarySectionPrivate p, DictionarySectionPrivate o, DictionarySectionPrivate sh)
public FourSectionDictionary(HDTOptions spec)
public void load(TempDictionary other, ProgressListener listener)
DictionaryPrivatepublic void save(OutputStream output, ControlInfo ci, ProgressListener listener) throws IOException
DictionaryPrivateIOExceptionpublic void load(InputStream input, ControlInfo ci, ProgressListener listener) throws IOException
DictionaryPrivateinput - InputStream to load the dictionary fromIOExceptionpublic void mapFromFile(CountInputStream in, File f, ProgressListener listener) throws IOException
IOExceptionpublic String getType()
public void close()
throws IOException
IOExceptionCopyright © 2018 DataWeb Research. All rights reserved.