public class ConstantTokenizerFactory extends Object implements TokenizerFactory
| Constructor and Description |
|---|
ConstantTokenizerFactory(String[] tokens,
String[] whitespaces) |
public Tokenizer tokenizer(char[] cs, int start, int length)
TokenizerFactorytokenizer in interface TokenizerFactorycs - Characters to tokenize.start - Index of first character to tokenize.length - Number of characters to tokenize.Copyright © 2016 Alias-i, Inc.. All rights reserved.