Package | Description |
---|---|
org.apache.james.mime4j.descriptor | |
org.apache.james.mime4j.field | |
org.apache.james.mime4j.message | |
org.apache.james.mime4j.parser |
Modifier and Type | Method and Description |
---|---|
void |
MaximalBodyDescriptor.addField(Field field) |
void |
DefaultBodyDescriptor.addField(Field field)
Should be called for each
Content- header field of
a MIME message or part. |
void |
MutableBodyDescriptor.addField(Field field)
Adds a field to the body descriptor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ParsedField |
Modifier and Type | Class and Description |
---|---|
class |
AbstractField
The base class of all field classes.
|
class |
AddressListField
Address list field such as
To or Reply-To . |
class |
ContentDispositionField
Represents a
Content-Disposition field. |
class |
ContentTransferEncodingField
Represents a
Content-Transfer-Encoding field. |
class |
ContentTypeField
Represents a
Content-Type field. |
class |
DateTimeField
Date-time field such as
Date or Resent-Date . |
class |
MailboxField
Mailbox field such as
Sender or Resent-Sender . |
class |
MailboxListField
Mailbox-list field such as
From or Resent-From . |
class |
UnstructuredField
Simple unstructured field such as
Subject . |
Modifier and Type | Method and Description |
---|---|
static Field |
Fields.messageId(java.lang.String hostname)
Creates a Message-ID field for the specified host name.
|
Modifier and Type | Method and Description |
---|---|
Field |
Header.getField(java.lang.String name)
Gets a
Field given a field name. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Field> |
Header.getFields()
Gets the fields of this header.
|
java.util.List<Field> |
Header.getFields(java.lang.String name)
Gets all
Field s having the specified field name. |
java.util.Iterator<Field> |
Header.iterator()
Returns an iterator over the list of fields of this header.
|
Modifier and Type | Method and Description |
---|---|
void |
Header.addField(Field field)
Adds a field to the end of the list of fields.
|
void |
SimpleContentHandler.field(Field field) |
void |
MessageBuilder.field(Field field) |
void |
Header.setField(Field field)
Sets or replaces a field.
|
Modifier and Type | Method and Description |
---|---|
Field |
EntityStateMachine.getField()
Returns current header field.
|
Field |
RawEntity.getField()
This method has no effect and always returns
null . |
Field |
MimeTokenStream.getField()
This method is valid, if
MimeTokenStream.getState() returns EntityStates.T_FIELD . |
Field |
AbstractEntity.getField()
This method is valid, if
AbstractEntity.getState() returns EntityStates.T_FIELD . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContentHandler.field(Field field) |
void |
ContentHandler.field(Field field)
Called for each field of a header.
|
Copyright © 2004-2016. All Rights Reserved.