Constructor and Description |
---|
TermsWriter(String location)
Constructor for the TermsWriter object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addElement(IListMetadataWrite obj)
Appends the given element with the given key to the structure.
|
void |
close()
Flush all open buffers and close the files of the data structure.
|
public TermsWriter(String location) throws IOException
location
- the directory to store the data
structure inIOException
- if an I/O error occursIOException
- if an I/O error occurspublic boolean addElement(IListMetadataWrite obj)
obj
- the element.public void close()
Copyright © 2016 Egothor. All Rights Reserved.