public enum ControlChar extends Enum<ControlChar>
| Enum Constant and Description |
|---|
ACK |
APC |
BEL |
BPH |
BS |
CAN |
CCH |
CR |
CSI |
DC1 |
DC2 |
DC3 |
DC4 |
DCS |
DEL |
DLE |
EM |
ENQ |
EOT |
EPA |
ESA |
ESC |
ETB |
ETX |
FF |
FS |
GS |
HOP |
HT |
HTJ |
HTS |
IND |
LF |
MW |
NAK |
NBH |
NEL |
NUL
7 bit ASCII 0x00 - 0x1F + 0x7F
|
OSC |
PAD
Unicode Extensions 0x80 - 0x9F
Currently not used
|
PLD |
PLU |
PM |
PU1 |
PU2 |
RI |
RS |
SCI |
SGCI |
SI |
SO |
SOH |
SOS |
SPA |
SS2 |
SS3 |
SSA |
ST |
STS |
STX |
SUB |
SYN |
US |
VT |
VTS |
| Modifier and Type | Field and Description |
|---|---|
String |
ansiName
The control character's ANSI name
|
static EnumSet<ControlChar> |
ASCII
Set of ASCII 7 bit Control Chars
|
String |
code
The three character code
|
String |
mnemonic
JHOVE's reporting mnemonic, the code followed by the int value in hex.
|
static String |
PROP_NAME
JHOVE reporting property name
|
static EnumSet<ControlChar> |
UNICODE
Set of Unicode Control Chars,
ASCII + UNICODE_EXTENSIONS |
static EnumSet<ControlChar> |
UNICODE_EXTENSIONS
Set of Control Chars that are only Unicode
|
int |
value
The byte value of the character.
|
| Modifier and Type | Method and Description |
|---|---|
static ControlChar |
asciiFromInt(int charVal)
Returns the appropriate ASCII control character for an int character value.
|
static ControlChar |
fromMnemonic(String mnemonic) |
static boolean |
isLineEndChar(ControlChar toTest)
Tests whether the passed ControlChar toTest is a line ending character.
|
static ControlChar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlChar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlChar NUL
public static final ControlChar SOH
public static final ControlChar STX
public static final ControlChar ETX
public static final ControlChar EOT
public static final ControlChar ENQ
public static final ControlChar ACK
public static final ControlChar BEL
public static final ControlChar BS
public static final ControlChar HT
public static final ControlChar LF
public static final ControlChar VT
public static final ControlChar FF
public static final ControlChar CR
public static final ControlChar SO
public static final ControlChar SI
public static final ControlChar DLE
public static final ControlChar DC1
public static final ControlChar DC2
public static final ControlChar DC3
public static final ControlChar DC4
public static final ControlChar NAK
public static final ControlChar SYN
public static final ControlChar ETB
public static final ControlChar CAN
public static final ControlChar EM
public static final ControlChar SUB
public static final ControlChar ESC
public static final ControlChar FS
public static final ControlChar GS
public static final ControlChar RS
public static final ControlChar US
public static final ControlChar DEL
public static final ControlChar PAD
public static final ControlChar HOP
public static final ControlChar BPH
public static final ControlChar NBH
public static final ControlChar IND
public static final ControlChar NEL
public static final ControlChar SSA
public static final ControlChar ESA
public static final ControlChar HTS
public static final ControlChar HTJ
public static final ControlChar VTS
public static final ControlChar PLD
public static final ControlChar PLU
public static final ControlChar RI
public static final ControlChar SS2
public static final ControlChar SS3
public static final ControlChar DCS
public static final ControlChar PU1
public static final ControlChar PU2
public static final ControlChar STS
public static final ControlChar CCH
public static final ControlChar MW
public static final ControlChar SPA
public static final ControlChar EPA
public static final ControlChar SOS
public static final ControlChar SGCI
public static final ControlChar SCI
public static final ControlChar CSI
public static final ControlChar ST
public static final ControlChar OSC
public static final ControlChar PM
public static final ControlChar APC
public static final String PROP_NAME
public static final EnumSet<ControlChar> ASCII
public static final EnumSet<ControlChar> UNICODE_EXTENSIONS
public static final EnumSet<ControlChar> UNICODE
ASCII + UNICODE_EXTENSIONSpublic final String code
public final int value
public final String ansiName
public final String mnemonic
public static ControlChar[] values()
for (ControlChar c : ControlChar.values()) System.out.println(c);
public static ControlChar 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 static final boolean isLineEndChar(ControlChar toTest)
toTest - the ControlChar to testpublic static final ControlChar asciiFromInt(int charVal)
charVal - the int value of a possible ASCII characterpublic static final ControlChar fromMnemonic(String mnemonic)
Copyright © 2008–2021 The Open Preservation Foundation. All rights reserved.