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.
枚举常量和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static Base64Dialect |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Base64Dialect[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量,
则抛出 IllegalArgumentExceptionjava.lang.NullPointerException
- 如果参数为空值, 则抛出 NullPointerException