org.apache.geronimo.javamail.store.imap.connection
Class IMAPMessageText

java.lang.Object
  extended by org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
      extended by org.apache.geronimo.javamail.store.imap.connection.IMAPFetchBodyPart
          extended by 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.IMAPFetchBodyPart
section
 
Fields inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
BODY, BODYSTRUCTURE, ENVELOPE, FETCH, FLAGS, HEADER, INTERNALDATE, SIZE, TEXT, type, UID
 
Constructor Summary
IMAPMessageText(byte[] data)
          Construct a top-level TEXT data item.
IMAPMessageText(IMAPBodySection section, byte[] data)
           
 
Method Summary
 byte[] getContent()
          Retrieved the header data.
 
Methods inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchBodyPart
getPartNumber, getSectionType, getSubstringLength, getSubstringStart
 
Methods inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
getType, isType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected byte[] data
Constructor Detail

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
Method Detail

getContent

public byte[] getContent()
Retrieved the header data.

Returns:
The header data.


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