public enum EnglishCharacterData extends Enum<EnglishCharacterData> implements CharacterData
Enum Constant and Description |
---|
Alphabetical
Alphabetical characters (upper and lower case).
|
Digit
Digit characters.
|
LowerCase
Lower case characters.
|
Special
Special characters.
|
SpecialAscii
Special ascii characters.
|
SpecialLatin
Special latin characters.
|
SpecialUnicode
Special unicode characters.
|
UpperCase
Upper case characters.
|
Modifier and Type | Method and Description |
---|---|
String |
getCharacters()
Returns the characters.
|
String |
getErrorCode()
Return the error code used for message resolution.
|
static EnglishCharacterData |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnglishCharacterData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnglishCharacterData LowerCase
public static final EnglishCharacterData UpperCase
public static final EnglishCharacterData Digit
public static final EnglishCharacterData Alphabetical
public static final EnglishCharacterData SpecialAscii
public static final EnglishCharacterData SpecialUnicode
public static final EnglishCharacterData SpecialLatin
public static final EnglishCharacterData Special
public static EnglishCharacterData[] values()
for (EnglishCharacterData c : EnglishCharacterData.values()) System.out.println(c);
public static EnglishCharacterData 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 getErrorCode()
CharacterData
getErrorCode
in interface CharacterData
public String getCharacters()
CharacterData
getCharacters
in interface CharacterData
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.