Apache JAMES Mime4j 0.6-redhat-2

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
 String getBody()
          Gets the unparsed and possibly encoded (see RFC 2047) field body string.
 String getName()
          Gets the name of the field (Subject, From, etc).
 ByteSequence getRaw()
          Gets the original raw field bytes.
 

Method Detail

getName

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

Returns:
the field name.

getBody

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.

Apache JAMES Mime4j 0.6-redhat-2

Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.