public abstract class AbstractToSentenceSampleStream<T> extends FilterObjectStream<T,SentenceSample>
Modifier and Type | Method and Description |
---|---|
SentenceSample |
read()
Returns the next object.
|
close, reset
public SentenceSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2020 The Apache Software Foundation. All rights reserved.