Package | Description |
---|---|
org.apache.james.mime4j.dom | |
org.apache.james.mime4j.dom.field | |
org.apache.james.mime4j.field | |
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)
Field s into
structured ParsedField s. |
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 | 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(String rawStr)
Parses the given string and returns an instance of the
ParsedField class. |
static ParsedField |
DefaultFieldParser.parse(String rawStr) |
static ParsedField |
LenientFieldParser.parse(String rawStr,
DecodeMonitor monitor)
Parses the given string and returns an instance of the
Field class. |
static ParsedField |
DefaultFieldParser.parse(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(String name) |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingFieldParser.setFieldParser(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 |
---|---|
protected abstract ParsedField |
AbstractMessage.newMessageId(String hostname) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMessageBuilder.setFieldParser(FieldParser<? extends ParsedField> fieldParser) |
Constructor and Description |
---|
DefaultBodyDescriptorBuilder(String parentMimeType,
FieldParser<? extends ParsedField> fieldParser,
DecodeMonitor monitor)
Creates a new
BodyDescriptor instance. |
SimpleContentHandler(FieldParser<? extends ParsedField> fieldParser,
DecodeMonitor monitor) |
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.