public class SimpleWordTokenizer extends Object
Constructor and Description |
---|
SimpleWordTokenizer() |
Modifier and Type | Method and Description |
---|---|
static List<StringEntry> |
tokenize(String line)
Breaks the given line into multiple tokens.
|
static List<StringEntry> |
tokenize(String line,
String find)
Tokenize the given line but only return those tokens that match the parameter
find . |
public static List<StringEntry> tokenize(String line)
line
- line to tokenizepublic static List<StringEntry> tokenize(String line, String find)
find
.line
- line to search infind
- String to matchCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.