public static enum Pdu.Encoding extends Enum<Pdu.Encoding>
Enum Constant and Description |
---|
DATA_8BIT |
TEXT_16BIT |
TEXT_7BIT |
Modifier and Type | Method and Description |
---|---|
static Pdu.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pdu.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pdu.Encoding TEXT_7BIT
public static final Pdu.Encoding DATA_8BIT
public static final Pdu.Encoding TEXT_16BIT
public static Pdu.Encoding[] values()
for (Pdu.Encoding c : Pdu.Encoding.values()) System.out.println(c);
public static Pdu.Encoding 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 © 2009–2015 atmodem4j. All rights reserved.