Modifier and Type | Method and Description |
---|---|
Field |
Header.getField(String name)
Gets a
Field given a field name. |
Modifier and Type | Method and Description |
---|---|
List<Field> |
Header.getFields()
Gets the fields of this header.
|
List<Field> |
Header.getFields(String name)
Gets all
Field s having the specified field name. |
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.
|
T |
FieldParser.parse(Field rawField,
DecodeMonitor monitor)
Parses raw (unstructured) field and converts it into a structured field.
|
void |
Header.setField(Field field)
Sets or replaces a field.
|
void |
MessageWriter.writeField(Field field,
OutputStream out) |
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 |
ParsedField
A structured field that has been processed by a parsing routine.
|
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 |
---|---|
protected Field |
AbstractField.rawField |
Modifier and Type | Method and Description |
---|---|
ParsedField |
DelegatingFieldParser.parse(Field rawField,
DecodeMonitor monitor) |
Constructor and Description |
---|
AbstractField(Field rawField,
DecodeMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
Field |
DefaultBodyDescriptorBuilder.addField(RawField rawfield) |
Field |
AbstractHeader.getField(String name)
Gets a
Field given a field name. |
Modifier and Type | Method and Description |
---|---|
List<Field> |
AbstractHeader.getFields()
Gets the fields of this header.
|
List<Field> |
AbstractHeader.getFields(String name)
Gets all
Field s having the specified field name. |
Iterator<Field> |
AbstractHeader.iterator()
Returns an iterator over the list of fields of this header.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHeader.addField(Field field)
Adds a field to the end of the list of fields.
|
void |
SimpleContentHandler.field(Field field) |
void |
AbstractHeader.setField(Field field)
Sets or replaces a field.
|
void |
DefaultMessageWriter.writeField(Field field,
OutputStream out)
Write the specified
Field to the specified
OutputStream . |
Modifier and Type | Method and Description |
---|---|
void |
ContentHandler.field(Field rawField)
Called for each field of a header.
|
void |
AbstractContentHandler.field(Field field) |
Modifier and Type | Class and Description |
---|---|
class |
RawField
Raw (unstructured) MIME field.
|
Modifier and Type | Method and Description |
---|---|
Field |
BodyDescriptorBuilder.addField(RawField field)
Updates builder's internal state by adding a new field.
|
Field |
MimeTokenStream.getField()
This method is valid, if
MimeTokenStream.getState() returns EntityState.T_FIELD . |
Field |
EntityStateMachine.getField()
Returns current header field.
|
Field |
MimeTokenStream.parseHeadless(InputStream stream,
String contentType)
Instructs the
MimeTokenStream to parse the given content with
the content type. |
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.