Package opennlp.tools.formats.brat
Class SegmenterObjectStream<S,T> 
java.lang.Object
opennlp.tools.util.FilterObjectStream<S,T>
 
opennlp.tools.formats.brat.SegmenterObjectStream<S,T> 
- All Implemented Interfaces:
- AutoCloseable,- ObjectStream<T>
- Direct Known Subclasses:
- BratNameSampleStream,- DocumentToLineStream
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class opennlp.tools.util.FilterObjectStreamclose, reset
- 
Constructor Details- 
SegmenterObjectStream
 
- 
- 
Method Details- 
readDescription copied from interface:ObjectStreamReturns the nextObjectStreamobject. Calling this method repeatedly until it returnsnullwill return each object from the underlying source exactly once.- Returns:
- The next object or nullto signal that the stream is exhausted.
- Throws:
- IOException- Thrown if there is an error during reading.
 
 
-