| Package | Description |
|---|---|
| org.apache.james.mime4j.dom | |
| org.apache.james.mime4j.dom.field | |
| org.apache.james.mime4j.field | |
| org.apache.james.mime4j.internal | |
| org.apache.james.mime4j.message |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FieldParser<T extends ParsedField>
A parser or transformation process intended to convert raw (unstructured)
Fields into
structured ParsedFields. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AddressListField |
interface |
ContentDescriptionField |
interface |
ContentDispositionField |
interface |
ContentIdField |
interface |
ContentLanguageField |
interface |
ContentLengthField |
interface |
ContentLocationField |
interface |
ContentMD5Field |
interface |
ContentTransferEncodingField |
interface |
ContentTypeField |
interface |
DateTimeField |
interface |
MailboxField |
interface |
MailboxListField |
interface |
MimeVersionField |
interface |
UnstructuredField |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractField
The base class of all field classes.
|
class |
AddressListFieldImpl
Address list field such as
To or Reply-To. |
class |
AddressListFieldLenientImpl
Address list field such as
To or Reply-To. |
class |
ContentDescriptionFieldImpl
Represents a
Content-Description field. |
class |
ContentDispositionFieldImpl
Represents a
Content-Disposition field. |
class |
ContentDispositionFieldLenientImpl
Represents a
Content-Disposition field. |
class |
ContentIdFieldImpl
Represents a
Content-Transfer-Encoding field. |
class |
ContentLanguageFieldImpl
Represents a
Content-Transfer-Encoding field. |
class |
ContentLanguageFieldLenientImpl
Represents a
Content-Transfer-Encoding field. |
class |
ContentLengthFieldImpl
Represents a
Content-Length field. |
class |
ContentLocationFieldImpl
Represents a
Content-Location field. |
class |
ContentLocationFieldLenientImpl
Represents a
Content-Location field. |
class |
ContentMD5FieldImpl
Represents a
Content-MD5 field. |
class |
ContentTransferEncodingFieldImpl
Represents a
Content-Transfer-Encoding field. |
class |
ContentTypeFieldImpl
Represents a
Content-Type field. |
class |
ContentTypeFieldLenientImpl
Represents a
Content-Type field. |
class |
DateTimeFieldImpl
Date-time field such as
Date or Resent-Date. |
class |
DateTimeFieldLenientImpl
Date-time field such as
Date or Resent-Date. |
class |
MailboxFieldImpl
Mailbox field such as
Sender or Resent-Sender. |
class |
MailboxFieldLenientImpl
Mailbox field such as
Sender or Resent-Sender. |
class |
MailboxListFieldImpl
Mailbox-list field such as
From or Resent-From. |
class |
MailboxListFieldLenientImpl
Mailbox-list field such as
From or Resent-From. |
class |
MimeVersionFieldImpl
Represents a
MIME-Version field. |
class |
MimeVersionFieldLenientImpl
Represents a
MIME-Version field. |
class |
UnstructuredFieldImpl
Simple unstructured field such as
Subject. |
| Modifier and Type | Field and Description |
|---|---|
private FieldParser<? extends ParsedField> |
DelegatingFieldParser.defaultParser |
private static FieldParser<ParsedField> |
LenientFieldParser.PARSER |
private static FieldParser<ParsedField> |
DefaultFieldParser.PARSER |
private java.util.Map<java.lang.String,FieldParser<? extends ParsedField>> |
DelegatingFieldParser.parsers |
| Modifier and Type | Method and Description |
|---|---|
private static <F extends ParsedField> |
Fields.parse(FieldParser<F> parser,
java.lang.String fieldName,
java.lang.String fieldBody) |
| Modifier and Type | Method and Description |
|---|---|
static ParsedField |
LenientFieldParser.parse(ByteSequence raw,
DecodeMonitor monitor)
Parses the given byte sequence and returns an instance of the
ParsedField class. |
static ParsedField |
DefaultFieldParser.parse(ByteSequence raw,
DecodeMonitor monitor)
Parses the given byte sequence and returns an instance of the
ParsedField class. |
ParsedField |
DelegatingFieldParser.parse(Field rawField,
DecodeMonitor monitor) |
static ParsedField |
LenientFieldParser.parse(java.lang.String rawStr)
Parses the given string and returns an instance of the
ParsedField class. |
static ParsedField |
DefaultFieldParser.parse(java.lang.String rawStr) |
static ParsedField |
LenientFieldParser.parse(java.lang.String rawStr,
DecodeMonitor monitor)
Parses the given string and returns an instance of the
Field class. |
static ParsedField |
DefaultFieldParser.parse(java.lang.String rawStr,
DecodeMonitor monitor)
Parses the given string and returns an instance of the
ParsedField class. |
| Modifier and Type | Method and Description |
|---|---|
static FieldParser<ParsedField> |
LenientFieldParser.getParser()
Gets the default instance of this class.
|
static FieldParser<ParsedField> |
DefaultFieldParser.getParser()
Gets the default instance of this class.
|
FieldParser<? extends ParsedField> |
DelegatingFieldParser.getParser(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
DelegatingFieldParser.setFieldParser(java.lang.String name,
FieldParser<? extends ParsedField> parser)
Sets the parser used for the field named
name. |
| Constructor and Description |
|---|
DelegatingFieldParser(FieldParser<? extends ParsedField> defaultParser) |
| Modifier and Type | Method and Description |
|---|---|
<F extends ParsedField> |
AbstractEntityBuilder.obtainField(java.lang.String fieldName) |
| Modifier and Type | Field and Description |
|---|---|
private FieldParser<? extends ParsedField> |
DefaultBodyDescriptorBuilder.fieldParser |
private FieldParser<? extends ParsedField> |
SimpleContentHandler.fieldParser |
private FieldParser<? extends ParsedField> |
DefaultMessageBuilder.fieldParser |
private java.util.Map<java.lang.String,ParsedField> |
DefaultBodyDescriptorBuilder.fields |
private java.util.Map<java.lang.String,ParsedField> |
MaximalBodyDescriptor.fields |
| Modifier and Type | Method and Description |
|---|---|
(package private) <F extends ParsedField> |
AbstractEntity.obtainField(java.lang.String fieldName)
Obtains the header field with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultMessageBuilder.setFieldParser(FieldParser<? extends ParsedField> fieldParser) |
| Constructor and Description |
|---|
DefaultBodyDescriptorBuilder(java.lang.String parentMimeType,
FieldParser<? extends ParsedField> fieldParser,
DecodeMonitor monitor)
Creates a new
BodyDescriptor instance. |
MaximalBodyDescriptor(java.lang.String mimeType,
java.lang.String mediaType,
java.lang.String subType,
java.lang.String boundary,
java.lang.String charset,
java.util.Map<java.lang.String,ParsedField> fields) |
SimpleContentHandler(FieldParser<? extends ParsedField> fieldParser,
DecodeMonitor monitor) |