org.apache.geronimo.javamail.store.imap.connection
Class IMAPMessageText
java.lang.Object
org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
org.apache.geronimo.javamail.store.imap.connection.IMAPFetchBodyPart
org.apache.geronimo.javamail.store.imap.connection.IMAPMessageText
public class IMAPMessageText
- extends IMAPFetchBodyPart
Field Summary |
protected byte[] |
data
|
Fields inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem |
BODY, BODYSTRUCTURE, ENVELOPE, FETCH, FLAGS, HEADER, INTERNALDATE, SIZE, TEXT, type, UID |
Method Summary |
byte[] |
getContent()
Retrieved the header data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected byte[] data
IMAPMessageText
public IMAPMessageText(byte[] data)
throws MessagingException
- Construct a top-level TEXT data item.
- Parameters:
data
- The data for the message text.
- Throws:
MessagingException
IMAPMessageText
public IMAPMessageText(IMAPBodySection section,
byte[] data)
throws MessagingException
- Throws:
MessagingException
getContent
public byte[] getContent()
- Retrieved the header data.
- Returns:
- The header data.
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.