public class NameToTokenSampleStream extends FilterObjectStream<NameSample,TokenSample>
| Constructor and Description |
|---|
NameToTokenSampleStream(Detokenizer detokenizer,
ObjectStream<NameSample> samples) |
| Modifier and Type | Method and Description |
|---|---|
TokenSample |
read()
Returns the next object.
|
close, resetpublic NameToTokenSampleStream(Detokenizer detokenizer, ObjectStream<NameSample> samples)
public TokenSample read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.