public enum Base64Dialect extends 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 | Method and Description |
---|---|
static Base64Dialect |
valueOf(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
public static Base64Dialect[] values()
for (Base64Dialect c : Base64Dialect.values()) System.out.println(c);
public static Base64Dialect 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 nullCopyright © 2008-2015 The Netty Project. All Rights Reserved.