Class StreamTokenizer
java.lang.Object
com.aquima.interactions.matching.impl.functions.fulltext.StreamTokenizer
Simple tokenizer that parses a string into a list of words. Words containing special characters or digits are
ignored.
- Since:
- 6.2
- Author:
- O. Kerpershoek, F. van der Meer
-
Constructor Summary
ConstructorsConstructorDescriptionStreamTokenizer
(Reader reader) Constructs the tokenizer with the reader providing the input. -
Method Summary
-
Constructor Details
-
StreamTokenizer
Constructs the tokenizer with the reader providing the input.- Parameters:
reader
- The reader providing the string that should be parsed.- Throws:
IOException
- This exception is thrown when the reader could not be accessed.
-
-
Method Details
-
getWords
This method returns an array containing the words that were parsed from the reader.- Returns:
- an array containing the words that were parsed from the reader.
-