public enum Base64Dialect extends java.lang.Enum<Base64Dialect>
The internal lookup tables in this class has been derived from Robert Harder's Public Domain Base64 Encoder/Decoder.
Enum Constant and Description |
---|
ORDERED
Special "ordered" dialect of Base64 described in
RFC1940.
|
STANDARD
Standard Base64 encoding as described in the Section 3 of
RFC3548.
|
URL_SAFE
Base64-like encoding that is URL-safe as described in the Section 4 of
RFC3548.
|
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
alphabet |
(package private) boolean |
breakLinesByDefault |
(package private) byte[] |
decodabet |
Modifier and Type | Method and Description |
---|---|
static Base64Dialect |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Base64Dialect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Base64Dialect STANDARD
public static final Base64Dialect URL_SAFE
public static final Base64Dialect ORDERED
final byte[] alphabet
final byte[] decodabet
final boolean breakLinesByDefault
public static Base64Dialect[] values()
for (Base64Dialect c : Base64Dialect.values()) System.out.println(c);
public static Base64Dialect 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 null