Defines an Inline Encoding parameter. Constants are provided for all encodings specified in RFC2045.
4.2.7 Inline Encoding
Parameter Name: ENCODING
Purpose: To specify an alternate inline encoding for the property
value.
Format Definition: The property parameter is defined by the following
notation:
encodingparam = "ENCODING" "="
("8BIT"
; "8bit" text encoding is defined in [RFC 2045]
/ "BASE64"
; "BASE64" binary encoding format is defined in [RFC 2045]
/ iana-token
; Some other IANA registered iCalendar encoding type
/ x-name)
; A non-standard, experimental encoding type
Description: The property parameter identifies the inline encoding
used in a property value. The default encoding is "8BIT",
corresponding to a property value consisting of text. The "BASE64"
encoding type corresponds to a property value encoded using the
"BASE64" encoding defined in [RFC 2045].
If the value type parameter is ";VALUE=BINARY", then the inline
encoding parameter MUST be specified with the value
";ENCODING=BASE64".
Example:
ATTACH;FMTYPE=IMAGE/JPEG;ENCODING=BASE64;VALUE=BINARY:MIICajC
CAdOgAwIBAgICBEUwDQYJKoZIhvcNAQEEBQAwdzELMAkGA1UEBhMCVVMxLDA
qBgNVBAoTI05ldHNjYXBlIENvbW11bmljYXRpb25zIENvcnBvcmF0aW9uMRw
<...remainder of "BASE64" encoded binary data...>
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Encoding | BASE64
Base64 encoding. |
| public static final Encoding | BINARY
Binary encoding. |
| public static final Encoding | EIGHT_BIT
8 bit encoding. |
| public static final Encoding | QUOTED_PRINTABLE
Quoted printable encoding. |
| private static final long | |
| public static final Encoding | SEVEN_BIT
7 bit encoding. |
| private final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final String |
| BASE64 | back to summary |
|---|---|
| public static final Encoding BASE64 Base64 encoding. | |
| BINARY | back to summary |
|---|---|
| public static final Encoding BINARY Binary encoding. | |
| EIGHT_BIT | back to summary |
|---|---|
| public static final Encoding EIGHT_BIT 8 bit encoding. | |
| QUOTED_PRINTABLE | back to summary |
|---|---|
| public static final Encoding QUOTED_PRINTABLE Quoted printable encoding. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SEVEN_BIT | back to summary |
|---|---|
| public static final Encoding SEVEN_BIT 7 bit encoding. | |
| value | back to summary |
|---|---|
| private final String value | |
| VALUE_BASE64 | back to summary |
|---|---|
| private static final String VALUE_BASE64 | |
| VALUE_BINARY | back to summary |
|---|---|
| private static final String VALUE_BINARY | |
| VALUE_EIGHT_BIT | back to summary |
|---|---|
| private static final String VALUE_EIGHT_BIT | |
| VALUE_QUOTED_PRINTABLE | back to summary |
|---|---|
| private static final String VALUE_QUOTED_PRINTABLE | |
| VALUE_SEVEN_BIT | back to summary |
|---|---|
| private static final String VALUE_SEVEN_BIT | |
| Encoding | back to summary |
|---|---|
public Encoding(final String aValue)
| |
| getValue | back to summary |
|---|---|
| public final String getValue() Implements abstract net.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Encoding | createParameter(final String
a value to assign to the returned parameter value)Implements net. Returns a parameter instance of the appropriate type with the specified value. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Factory | back to summary |
|---|---|
| public Factory() | |
| createParameter | back to summary |
|---|---|
| public Encoding createParameter(final String value) Implements net. Doc from net. Returns a parameter instance of the appropriate type with the specified value. | |