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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
decode
public 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
Copyright © 2024. All rights reserved.