public enum EncodingMode extends Enum<EncodingMode>
Enum Constant and Description |
---|
AUTO
Automatic selection of encoding mode.
|
CID
CID encoding
|
SINGLE_BYTE
Single-byte encoding
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the encoding mode name.
|
static EncodingMode |
getValue(String name)
Returns the
EncodingMode by name. |
String |
toString() |
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 AUTO
public static final EncodingMode SINGLE_BYTE
public static final EncodingMode CID
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 nullpublic String getName()
public static EncodingMode getValue(String name)
EncodingMode
by name.name
- the name of the encoding mode to look uppublic String toString()
toString
in class Enum<EncodingMode>
Copyright © 2025 Apache Software Foundation. All rights reserved.