public static enum RegexWordBreakIterator.WordPattern extends Enum<RegexWordBreakIterator.WordPattern>
Enum Constant and Description |
---|
EMOTICON |
HASHTAG |
TWITTERLINK |
Modifier and Type | Method and Description |
---|---|
String |
getPattern() |
static RegexWordBreakIterator.WordPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexWordBreakIterator.WordPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexWordBreakIterator.WordPattern HASHTAG
public static final RegexWordBreakIterator.WordPattern TWITTERLINK
public static final RegexWordBreakIterator.WordPattern EMOTICON
public static RegexWordBreakIterator.WordPattern[] values()
for (RegexWordBreakIterator.WordPattern c : RegexWordBreakIterator.WordPattern.values()) System.out.println(c);
public static RegexWordBreakIterator.WordPattern valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPattern()
Copyright © 2016 Actian Corporation. All rights reserved.