public class Tokenizer
extends java.lang.Object
Created: 2008. 03. 29 AM 1:55:03
| Constructor | Description |
|---|---|
Tokenizer() |
| Modifier and Type | Method | Description |
|---|---|---|
static Token[] |
optimize(Token[] tokens) |
Returns an array of tokens that is optimized.
|
static java.util.List<Token> |
tokenize(java.lang.CharSequence input,
boolean textTrim) |
Returns a list of tokens that contains tokenized string.
|
public static java.util.List<Token> tokenize(java.lang.CharSequence input, boolean textTrim)
input - the string to tokenizetextTrim - whether to trim textCopyright © 2008–2018 The Aspectran Project. All rights reserved.