public class WhitespaceTokenStream extends FilterObjectStream<TokenSample,String>
TokenSamples into whitespace
separated token strings.| Constructor and Description |
|---|
WhitespaceTokenStream(ObjectStream<TokenSample> tokens) |
| Modifier and Type | Method and Description |
|---|---|
String |
read()
Returns the next object.
|
close, resetpublic WhitespaceTokenStream(ObjectStream<TokenSample> tokens)
public String read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.