public static enum EncodingHelper.Encoding extends java.lang.Enum<EncodingHelper.Encoding>
Enum Constant and Description |
---|
Base64 |
Basic_Base64
Base64 using the Basic type base64 encoding scheme.
|
MIME_Base64
Base64 using the MIME type base64 scheme.
|
None
No Encoding.
|
Quoted_Printable
'quoted-printable' encoding MIME style.
|
URL_Base64
Base64 using URL and Filename safe type base64 scheme.
|
UUEncode
'uuencode' encoding MIME style.
|
Modifier and Type | Method and Description |
---|---|
static EncodingHelper.Encoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncodingHelper.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
abstract java.io.InputStream |
wrap(java.io.InputStream in) |
abstract java.io.OutputStream |
wrap(java.io.OutputStream out) |
@ConfigDeprecated(removalVersion="4.0.0", message="Use Base64_MIME / Base64_URL / Base64_Basic instead", groups=java.lang.Deprecated.class) public static final EncodingHelper.Encoding Base64
public static final EncodingHelper.Encoding MIME_Base64
Uses Base64
under the covers
public static final EncodingHelper.Encoding Quoted_Printable
Uses MimeUtility
as the encoder / decoder.
public static final EncodingHelper.Encoding UUEncode
Uses MimeUtility
as the encoder / decoder.
public static final EncodingHelper.Encoding URL_Base64
Uses Base64
under the covers
public static final EncodingHelper.Encoding Basic_Base64
Uses Base64
under the covers
public static final EncodingHelper.Encoding None
public static EncodingHelper.Encoding[] values()
for (EncodingHelper.Encoding c : EncodingHelper.Encoding.values()) System.out.println(c);
public static EncodingHelper.Encoding 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.io.OutputStream wrap(java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception
public abstract java.io.InputStream wrap(java.io.InputStream in) throws java.lang.Exception
java.lang.Exception