public enum EncodingMode extends Enum<EncodingMode>
There are two incompatible encoding approaches used in ST0903. ST0903.3 and earlier (including the original EG0903 baseline version, and RP0903.2) mapped integer values to floating point values with a direct mapping. ST0903.4 and later use the ST1201 IMAPB mapping approach.
This enumeration specifies which encoding is being used.
Enum Constant and Description |
---|
IMAPB
IMAPB encoding.
|
LEGACY
Legacy encoding.
|
Modifier and Type | Method and Description |
---|---|
static EncodingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingMode IMAPB
This is the 0903.4 and later format.
public static final EncodingMode LEGACY
This is the 0903.3 and earlier format.
public static EncodingMode[] values()
for (EncodingMode c : EncodingMode.values()) System.out.println(c);
public static EncodingMode 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 nullCopyright © 2022 West Ridge Systems. All rights reserved.