public static final class StringValueUtils.WhitespaceTokenizer extends Object implements Serializable
Constructor and Description |
---|
WhitespaceTokenizer()
Creates a new tokenizer with an undefined internal state.
|
Modifier and Type | Method and Description |
---|---|
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.