public static enum EncoderUtil.Encoding extends Enum<EncoderUtil.Encoding>
Enum Constant and Description |
---|
B
The B encoding (identical to base64 defined in RFC 2045).
|
Q
The Q encoding (similar to quoted-printable defined in RFC 2045).
|
Modifier and Type | Method and Description |
---|---|
static EncoderUtil.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncoderUtil.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncoderUtil.Encoding B
public static final EncoderUtil.Encoding Q
public static EncoderUtil.Encoding[] values()
for (EncoderUtil.Encoding c : EncoderUtil.Encoding.values()) System.out.println(c);
public static EncoderUtil.Encoding 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 © 2004-2012 The Apache Software Foundation. All Rights Reserved.