Enum Class CharacterConverter
- All Implemented Interfaces:
Serializable
,Comparable<CharacterConverter>
,Constable
Encapsulates the character conversion logics.
Each changeable character is represented by an enumeration instance and
allows conversion from/to the encoded value.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSmall aAmpersandAsteriskAT signSmall bBackslashSmall cCapital ACapital BCapital CCapital DCapital ECapital FCapital GCapital HCapital ICapital JCapital KCapital LCapital MCapital NCapital OCapital PCapital QCapital RCapital SCapital TCapital UCapital VCapital WCapital XCapital YCapital ZCircumflexColonCommaSmall dDollar signPlain dotSmall eNumber 8Equal signExclamation markSmall fNumber 5Number 4Small gGreater thanSmall hHashSmall iSmall jSmall kSmall lLeft bracket"{""["Less thanSmall mMinus signSmall nNumber 9Small oNumber 1Small pPercentPipePlus signSmall qQuestion markQuotationSmall rRight bracket"}""]"Small sSemicolonNumber 7Single quotationNumber 6Single slashSpaceSmall tNumber 3TickTildeNumber 2Small uUnderscoreSmall vSmall wSmall xSmall ySmall zNumber 0 -
Method Summary
Modifier and TypeMethodDescriptionstatic CharacterConverter
Returns the enum constant of this class with the specified name.static CharacterConverter[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPACE
Space -
EXCLAMATION_MARK
Exclamation mark -
QUOTE
Quotation -
HASH
Hash -
DOLLAR
Dollar sign -
PERCENT
Percent -
AMPERSAND
Ampersand -
SINGLE_QUOTE
Single quotation -
LEFT_BRACKET
Left bracket -
RIGHT_BRACKET
Right bracket -
ASTERISK
Asterisk -
PLUS
Plus sign -
COMMA
Comma -
MINUS
Minus sign -
DOT
Plain dot -
SLASH
Single slash -
ZERO
Number 0 -
ONE
Number 1 -
TWO
Number 2 -
THREE
Number 3 -
FOUR
Number 4 -
FIVE
Number 5 -
SIX
Number 6 -
SEVEN
Number 7 -
EIGHT
Number 8 -
NINE
Number 9 -
COLON
Colon -
SEMICOLON
Semicolon -
LT
Less than -
EQUAL
Equal sign -
GT
Greater than -
QUESTION_MARK
Question mark -
AT
AT sign -
CAPITAL_A
Capital A -
CAPITAL_B
Capital B -
CAPITAL_C
Capital C -
CAPITAL_D
Capital D -
CAPITAL_E
Capital E -
CAPITAL_F
Capital F -
CAPITAL_G
Capital G -
CAPITAL_H
Capital H -
CAPITAL_I
Capital I -
CAPITAL_J
Capital J -
CAPITAL_K
Capital K -
CAPITAL_L
Capital L -
CAPITAL_M
Capital M -
CAPITAL_N
Capital N -
CAPITAL_O
Capital O -
CAPITAL_P
Capital P -
CAPITAL_Q
Capital Q -
CAPITAL_R
Capital R -
CAPITAL_S
Capital S -
CAPITAL_T
Capital T -
CAPITAL_U
Capital U -
CAPITAL_V
Capital V -
CAPITAL_W
Capital W -
CAPITAL_X
Capital X -
CAPITAL_Y
Capital Y -
CAPITAL_Z
Capital Z -
LEFT_SQUARE_BRACKET
"[" -
BACKSLASH
Backslash -
RIGHT_SQUARE_BRACKET
"]" -
CIRCUMFLEX
Circumflex -
UNDERSCORE
Underscore -
TICK
Tick -
A
Small a -
B
Small b -
C
Small c -
D
Small d -
E
Small e -
F
Small f -
G
Small g -
H
Small h -
I
Small i -
J
Small j -
K
Small k -
L
Small l -
M
Small m -
N
Small n -
O
Small o -
P
Small p -
Q
Small q -
R
Small r -
S
Small s -
T
Small t -
U
Small u -
V
Small v -
W
Small w -
X
Small x -
Y
Small y -
Z
Small z -
LEFT_CURLY_BRACKET
"{" -
PIPE
Pipe -
RIGHT_CURLY_BRACKET
"}" -
TILDE
Tilde
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-