Serializable
, Comparable<EncodingSchemeEnum>
, EncodingScheme
public enum EncodingSchemeEnum extends Enum<EncodingSchemeEnum> implements EncodingScheme
Modifier and Type | Method | 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.
|
decode
public static final EncodingSchemeEnum BASE16
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.