com.datumbox.framework.core.common.text.tokenizers
Class WhitespaceTokenizer
- java.lang.Object
-
- com.datumbox.framework.core.common.text.tokenizers.AbstractTokenizer
-
- com.datumbox.framework.core.common.text.tokenizers.WhitespaceTokenizer
-
public class WhitespaceTokenizer extends AbstractTokenizer
The white space tokenizer separates the keywords of a string using the white space.
-
-
Constructor Summary
Constructors Constructor and Description WhitespaceTokenizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<java.lang.String>tokenize(java.lang.String text)Separates the tokens of a string by splitting it on white space.
-
-
-
Method Detail
-
tokenize
public java.util.List<java.lang.String> tokenize(java.lang.String text)
Separates the tokens of a string by splitting it on white space.- Specified by:
tokenizein classAbstractTokenizer- Parameters:
text-- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG