public enum EncodingScheme extends java.lang.Enum<EncodingScheme>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
decodeDigits(java.io.InputStream in) |
void |
encodeDigits(java.lang.String digits,
java.io.OutputStream out) |
int |
getValue() |
static EncodingScheme |
valueOf(int v) |
static EncodingScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncodingScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingScheme UNKNOWN
public static final EncodingScheme BCD_ODD
public static final EncodingScheme BCD_EVEN
public static EncodingScheme[] values()
for (EncodingScheme c : EncodingScheme.values()) System.out.println(c);
public static EncodingScheme 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()
public static EncodingScheme valueOf(int v)
public java.lang.String decodeDigits(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic void encodeDigits(java.lang.String digits,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionCopyright © 2011. All Rights Reserved.