public class WhitespaceTokenizer
extends java.lang.Object
INSTANCE
field.Modifier and Type | Field and Description |
---|---|
static WhitespaceTokenizer |
INSTANCE
Use this static reference to retrieve an instance of the
WhitespaceTokenizer . |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
tokenize(java.lang.String s)
Splits a string into its atomic parts
|
Span[] |
tokenizePos(java.lang.String d)
Finds the boundaries of atomic parts in a string.
|
public static final WhitespaceTokenizer INSTANCE
WhitespaceTokenizer
.public Span[] tokenizePos(java.lang.String d)
Tokenizer
d
- The string to be tokenized.public java.lang.String[] tokenize(java.lang.String s)
Tokenizer
Copyright © 2010 - 2020 Adobe. All Rights Reserved