public enum EncodingMode extends java.lang.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 |
---|---|
java.lang.String |
getName()
Returns the encoding mode name.
|
static EncodingMode |
getValue(java.lang.String name)
Returns the
EncodingMode by name. |
java.lang.String |
toString() |
static EncodingMode |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static EncodingMode getValue(java.lang.String name)
EncodingMode
by name.name
- the name of the encoding mode to look uppublic java.lang.String toString()
toString
in class java.lang.Enum<EncodingMode>
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.