public class WhitespaceTokenStream extends FilterObjectStream<TokenSample,String>
TokenSample
s 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, reset
public WhitespaceTokenStream(ObjectStream<TokenSample> tokens)
public String read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.