org.apache.james.mime4j.parser
Interface Field

All Known Subinterfaces:
ParsedField
All Known Implementing Classes:
AbstractField, AddressListField, ContentDispositionField, ContentTransferEncodingField, ContentTypeField, DateTimeField, MailboxField, MailboxListField, UnstructuredField

public interface Field

Abstract MIME field.


Method Summary
 java.lang.String getBody()
          Gets the unparsed and possibly encoded (see RFC 2047) field body string.
 java.lang.String getName()
          Gets the name of the field (Subject, From, etc).
 ByteSequence getRaw()
          Gets the original raw field bytes.
 

Method Detail

getName

java.lang.String getName()
Gets the name of the field (Subject, From, etc).

Returns:
the field name.

getBody

java.lang.String getBody()
Gets the unparsed and possibly encoded (see RFC 2047) field body string.

Returns:
the unparsed field body string.

getRaw

ByteSequence getRaw()
Gets the original raw field bytes.

Returns:
the original raw field bytes.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.