gnu.mail.providers.imap
public class IMAPBodyPart extends MimeBodyPart implements IMAPConstants
| Field Summary | |
|---|---|
| protected int | lines
The number of text lines of this part's content. |
| protected IMAPMessage | message
The message this part belongs to. |
| protected String | section
The section used to refer to this part. |
| protected int | size
The size of this part's content in bytes. |
| Constructor Summary | |
|---|---|
| protected | IMAPBodyPart(IMAPMessage message, IMAPMultipart parent, String section, InternetHeaders headers, int size, int lines)
Called by the IMAPMessage. |
| Method Summary | |
|---|---|
| Object | getContent() |
| protected InputStream | getContentStream()
Returns the raw content stream. |
| DataHandler | getDataHandler()
Returns a data handler for this part's content. |
| int | getLineCount()
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. |