java.lang.Object | +--javax.mail.BodyPart | +--javax.mail.internet.MimeBodyPart | +--gnu.mail.providers.imap.IMAPBodyPartAll Implemented Interfaces:
int | The number of text lines of this part's content. |
The message this part belongs to. | |
String | The section used to refer to this part. |
int | The size of this part's content in bytes. |
IMAPBodyPart(IMAPMessage message, IMAPMultipart parent, String section, InternetHeaders headers, int size, int lines) Called by the IMAPMessage. |
Object | |
InputStream | Returns the raw content stream. |
DataHandler | Returns a data handler for this part's content. |
int | Returns the number of text lines in the content of this body part. |
int | getSize() Returns the content size of this body part in bytes. |
protected int lines
protected IMAPMessage message
protected String section
protected int size
protected IMAPBodyPart(IMAPMessage message, IMAPMultipart parent, String section, InternetHeaders headers, int size, int lines)
public Object getContent()
protected InputStream getContentStream()
public DataHandler getDataHandler()
public int getLineCount()
public int getSize()