|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StringUtil.CharacterType>
com.sibvisions.util.type.StringUtil.CharacterType
public static enum StringUtil.CharacterType
the character types.
| Enum Constant Summary | |
|---|---|
All
all kind of characters. |
|
Digits
only digits. |
|
DigitsSpecial
digits and no letters. |
|
Letters
only letters. |
|
LettersDigits
letters and digits. |
|
LettersDigitsSpace
letters and digits and space. |
|
LettersDigitsWhitespace
letters and digits and whitespace. |
|
LettersSpecial
letters and no digits. |
|
None
null or empty. |
|
OnlySpecial
no letters and no digits. |
|
OnlyWhitespace
only whitespaces. |
|
| Method Summary | |
|---|---|
static StringUtil.CharacterType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StringUtil.CharacterType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StringUtil.CharacterType Letters
public static final StringUtil.CharacterType Digits
public static final StringUtil.CharacterType LettersDigits
public static final StringUtil.CharacterType OnlyWhitespace
public static final StringUtil.CharacterType OnlySpecial
public static final StringUtil.CharacterType LettersSpecial
public static final StringUtil.CharacterType DigitsSpecial
public static final StringUtil.CharacterType LettersDigitsWhitespace
public static final StringUtil.CharacterType LettersDigitsSpace
public static final StringUtil.CharacterType All
public static final StringUtil.CharacterType None
| Method Detail |
|---|
public static final StringUtil.CharacterType[] values()
for(StringUtil.CharacterType c : StringUtil.CharacterType.values())
System.out.println(c);
public static StringUtil.CharacterType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||