public enum QrExtCompactionMode extends java.lang.Enum<QrExtCompactionMode>
| Enum Constant and Description |
|---|
ALPHA_NUMERIC
Encodes codetext in QR Alphanumeric mode.
|
AUTO
The encoder selects the most efficient QR compaction mode automatically.
|
BYTES
Encodes codetext in QR Byte mode.
|
KANJI
Encodes codetext in QR Kanji mode.
|
NUMERIC
Encodes codetext in QR Numeric mode.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static QrExtCompactionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QrExtCompactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QrExtCompactionMode AUTO
public static final QrExtCompactionMode NUMERIC
public static final QrExtCompactionMode ALPHA_NUMERIC
public static final QrExtCompactionMode BYTES
public static final QrExtCompactionMode KANJI
public static QrExtCompactionMode[] values()
for (QrExtCompactionMode c : QrExtCompactionMode.values()) System.out.println(c);
public static QrExtCompactionMode 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 int getValue()