|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.tools.util.FilterObjectStream<S,T>
S
- the type of the source/input streamT
- the type of this streampublic abstract class FilterObjectStream<S,T>
Abstract base class for filtering ObjectStream
s.
Filtering streams take an existing stream and convert its output to something else.
Method Summary | |
---|---|
void |
close()
Closes the ObjectStream and releases all allocated
resources. |
void |
reset()
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface opennlp.tools.util.ObjectStream |
---|
read |
Method Detail |
---|
public void reset() throws IOException, UnsupportedOperationException
ObjectStream
reset
in interface ObjectStream<T>
IOException
UnsupportedOperationException
public void close() throws IOException
ObjectStream
ObjectStream
and releases all allocated
resources. After close was called its not allowed to call
read or reset.
close
in interface ObjectStream<T>
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |