gnu.mail.providers.imap
Class IMAPBodyPart
- IMAPConstants, MimePart, Part
public class IMAPBodyPart
implements IMAPConstants
 A MIME body part of an IMAP multipart message.
| 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.
 | 
|  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.
 | 
| addHeader,addHeaderLine,getAllHeaderLines,getAllHeaders,getContent,getContentID,getContentLanguage,getContentMD5,getContentStream,getContentType,getDataHandler,getDescription,getDisposition,getEncoding,getFileName,getHeader,getHeader,getInputStream,getLineCount,getMatchingHeaderLines,getMatchingHeaders,getNonMatchingHeaderLines,getNonMatchingHeaders,getRawInputStream,getSize,isMimeType,removeHeader,setContent,setContent,setContentID,setContentLanguage,setContentMD5,setDataHandler,setDescription,setDescription,setDisposition,setFileName,setHeader,setText,setText,updateHeaders,writeTo | 
lines
protected int lines
 The number of text lines of this part's content.
message
protected IMAPMessage message
 The message this part belongs to.
section
protected String section
 The section used to refer to this part.
size
protected int size
 The size of this part's content in bytes.
getContentStream
protected InputStream getContentStream()
            throws MessagingException Returns the raw content stream.
- getContentStream in interface MimeBodyPart