|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.store.TermsWriter
public class TermsWriter
TermsWriter implements a writer of the structure that is described in
Terms
.
Constructor Summary | |
---|---|
TermsWriter(java.lang.String location)
Constructor for the TermsWriter object. |
Method Summary | |
---|---|
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. |
protected void |
finalize()
Close this object and mark resources for garbage collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TermsWriter(java.lang.String location) throws java.io.IOException
location
- the directory to store the data
structure in
java.io.IOException
- if an I/O error occurs
java.io.IOException
- if an I/O error occursMethod Detail |
---|
public boolean addElement(IListMetadataWrite obj)
obj
- the element.
public void close()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
- who knows when trying to collect garbage?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |