public static class RegexTokenizer.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RegexTokenizer |
create() |
RegexTokenizer.Builder |
setMinLength(int minLength) |
RegexTokenizer.Builder |
setRegex(java.lang.String regex) |
RegexTokenizer.Builder |
setToLowercase(boolean toLowercase) |
public RegexTokenizer.Builder setRegex(java.lang.String regex)
public RegexTokenizer.Builder setToLowercase(boolean toLowercase)
public RegexTokenizer.Builder setMinLength(int minLength)
public RegexTokenizer create()