Enum CharacterConverter
- All Implemented Interfaces:
Serializable
,Comparable<CharacterConverter>
,java.lang.constant.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 ConstantDescriptionaAmpersandAsteriskAT signbBackslashcABCDEFGHIJKLMNOPQRSTUVWXYZCircumflexColonCommadDollar signPlain doteNumber 8Equal signExclamation markfNumber 5Number 4gGreater thanhHashijklLeft bracket{[Less thanmMinus signnNumber 9oNumber 1pPercentPipePlus signqQuestion markQuotationrRight bracket}]sSemicolonNumber 7Single quotationNumber 6Single slashSpacetNumber 3TickTildeNumber 2uUnderscorevwxyzNumber 0 -
Method Summary
Modifier and TypeMethodDescriptionstatic CharacterConverter
Returns the enum constant of this type with the specified name.static CharacterConverter[]
values()
Returns an array containing the constants of this enum type, 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
A -
CAPITAL_B
B -
CAPITAL_C
C -
CAPITAL_D
D -
CAPITAL_E
E -
CAPITAL_F
F -
CAPITAL_G
G -
CAPITAL_H
H -
CAPITAL_I
I -
CAPITAL_J
J -
CAPITAL_K
K -
CAPITAL_L
L -
CAPITAL_M
M -
CAPITAL_N
N -
CAPITAL_O
O -
CAPITAL_P
P -
CAPITAL_Q
Q -
CAPITAL_R
R -
CAPITAL_S
S -
CAPITAL_T
T -
CAPITAL_U
U -
CAPITAL_V
V -
CAPITAL_W
W -
CAPITAL_X
X -
CAPITAL_Y
Y -
CAPITAL_Z
Z -
LEFT_SQUARE_BRACKET
[ -
BACKSLASH
Backslash -
RIGHT_SQUARE_BRACKET
] -
CIRCUMFLEX
Circumflex -
UNDERSCORE
Underscore -
TICK
Tick -
A
a -
B
b -
C
c -
D
d -
E
e -
F
f -
G
g -
H
h -
I
i -
J
j -
K
k -
L
l -
M
m -
N
n -
O
o -
P
p -
Q
q -
R
r -
S
s -
T
t -
U
u -
V
v -
W
w -
X
x -
Y
y -
Z
z -
LEFT_CURLY_BRACKET
{ -
PIPE
Pipe -
RIGHT_CURLY_BRACKET
} -
TILDE
Tilde
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-