public static final class StringValueUtils.WhitespaceTokenizer extends Object implements Serializable
构造器和说明 |
---|
WhitespaceTokenizer()
Creates a new tokenizer with an undefined internal state.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
next(StringValue target)
Gets the next token from the string.
|
void |
setStringToTokenize(StringValue string)
Sets the string to be tokenized and resets the state of the tokenizer.
|
public WhitespaceTokenizer()
public void setStringToTokenize(StringValue string)
string
- The string value to be tokenized.public boolean next(StringValue target)
target
- The StringValue object to store the next token in.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.