| Package | Description |
|---|---|
| org.apache.james.mime4j.dom | |
| org.apache.james.mime4j.field | |
| org.apache.james.mime4j.internal | |
| org.apache.james.mime4j.message | |
| org.apache.james.mime4j.stream |
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
Message.Builder.setContentType(java.lang.String mimeType,
NameValuePair... parameters) |
| Modifier and Type | Method and Description |
|---|---|
static ContentTypeField |
Fields.contentType(java.lang.String mimeType,
NameValuePair... parameters)
Creates a Content-Type field from the specified MIME type and
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentDispositionField |
Fields.contentDisposition(java.lang.String dispositionType,
java.lang.Iterable<NameValuePair> parameters)
Creates a Content-Disposition field from the specified
disposition type and parameters.
|
static ContentTypeField |
Fields.contentType(java.lang.String mimeType,
java.lang.Iterable<NameValuePair> parameters)
Creates a Content-Type field from the specified MIME type and
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractEntityBuilder |
AbstractEntityBuilder.setContentType(java.lang.String mimeType,
NameValuePair... parameters)
Sets transfer encoding of this message.
|
| Modifier and Type | Method and Description |
|---|---|
MessageBuilder |
MessageBuilder.setContentType(java.lang.String mimeType,
NameValuePair... parameters)
Deprecated.
|
BodyPartBuilder |
BodyPartBuilder.setContentType(java.lang.String mimeType,
NameValuePair... parameters) |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<NameValuePair> |
RawBody.params |
| Modifier and Type | Method and Description |
|---|---|
NameValuePair |
RawFieldParser.parseParameter(ByteSequence buf,
ParserCursor cursor)
Parses the sequence of bytes containing a field parameter delimited with semicolon into
NameValuePair. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NameValuePair> |
RawBody.getParams() |
java.util.List<NameValuePair> |
RawFieldParser.parseParameters(ByteSequence buf,
ParserCursor cursor)
Parses the sequence of bytes containing field parameters delimited with semicolon into
a list of
NameValuePairs. |
| Constructor and Description |
|---|
RawBody(java.lang.String value,
java.util.List<NameValuePair> params) |