public enum AustraliaPostFormat extends java.lang.Enum<AustraliaPostFormat> implements IEnumType
Enum Constant and Description |
---|
AlphanumericEncoding
Decode the Customer Information Field using the C Encoding Table.
|
Autodiscriminate
Attempt to decode the Customer Information Field using the N and C Encoding Tables.
|
NumericEncoding
Decode the Customer Information Field using the N Encoding Table.
|
RawFormat
Output raw bar patterns as a series of numbers 0 through 3.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static AustraliaPostFormat |
valueOf(int code) |
static AustraliaPostFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AustraliaPostFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AustraliaPostFormat Autodiscriminate
public static final AustraliaPostFormat RawFormat
public static final AustraliaPostFormat AlphanumericEncoding
public static final AustraliaPostFormat NumericEncoding
public static AustraliaPostFormat[] values()
for (AustraliaPostFormat c : AustraliaPostFormat.values()) System.out.println(c);
public static AustraliaPostFormat 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 toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<AustraliaPostFormat>
public static AustraliaPostFormat valueOf(int code)