public enum EncodingSchemeEnum extends Enum<EncodingSchemeEnum> implements EncodingScheme
| Modifier and Type | Method and Description |
|---|---|
abstract String |
encodeAsString(byte[] bytes) |
static EncodingSchemeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodingSchemeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfdecodepublic static final EncodingSchemeEnum BASE16
public static final EncodingSchemeEnum BASE32
public static final EncodingSchemeEnum BASE64
public static EncodingSchemeEnum[] values()
for (EncodingSchemeEnum c : EncodingSchemeEnum.values()) System.out.println(c);
public static EncodingSchemeEnum 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 nullpublic abstract String encodeAsString(byte[] bytes)
encodeAsString in interface EncodingScheme