public static enum EncodingHelper.Base64Encoding extends java.lang.Enum<EncodingHelper.Base64Encoding>
Base64
Enum Constant and Description |
---|
BASIC
Base64 using the Basic type base64 encoding scheme.
|
MIME
Base64 sing the MIME type base64 scheme.
|
URL
Base64 using URL and Filename safe type base64 scheme.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.Base64.Decoder |
decoder() |
abstract java.util.Base64.Encoder |
encoder() |
static EncodingHelper.Base64Encoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncodingHelper.Base64Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingHelper.Base64Encoding MIME
public static final EncodingHelper.Base64Encoding URL
public static final EncodingHelper.Base64Encoding BASIC
public static EncodingHelper.Base64Encoding[] values()
for (EncodingHelper.Base64Encoding c : EncodingHelper.Base64Encoding.values()) System.out.println(c);
public static EncodingHelper.Base64Encoding 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 abstract java.util.Base64.Decoder decoder()
public abstract java.util.Base64.Encoder encoder()