public class BodyMimeMessage
extends javax.mail.internet.MimeMessage
Constructor and Description |
---|
BodyMimeMessage(javax.mail.Session session,
Body body) |
Modifier and Type | Method and Description |
---|---|
protected java.io.InputStream |
getContentStream() |
java.lang.String |
getContentType() |
javax.activation.DataHandler |
getDataHandler() |
java.io.InputStream |
getInputStream() |
int |
getLineCount() |
int |
getSize() |
void |
setContent(javax.mail.Multipart mp) |
void |
setContent(java.lang.Object o,
java.lang.String type) |
void |
setDataHandler(javax.activation.DataHandler dh) |
void |
setText(java.lang.String text) |
void |
setText(java.lang.String text,
java.lang.String charset) |
void |
setText(java.lang.String text,
java.lang.String charset,
java.lang.String subtype) |
void |
writeTo(java.io.OutputStream os) |
void |
writeTo(java.io.OutputStream os,
java.lang.String[] ignoreList) |
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSubject, isMimeType, isSet, parse, removeHeader, reply, saveChanges, setContentID, setContentLanguage, setContentMD5, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, updateHeaders, updateMessageID
public BodyMimeMessage(javax.mail.Session session, Body body)
protected java.io.InputStream getContentStream() throws javax.mail.MessagingException
getContentStream
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public java.lang.String getContentType() throws javax.mail.MessagingException
getContentType
in interface javax.mail.Part
getContentType
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public javax.activation.DataHandler getDataHandler() throws javax.mail.MessagingException
getDataHandler
in interface javax.mail.Part
getDataHandler
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public int getLineCount() throws javax.mail.MessagingException
getLineCount
in interface javax.mail.Part
getLineCount
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public int getSize() throws javax.mail.MessagingException
getSize
in interface javax.mail.Part
getSize
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public void setContent(javax.mail.Multipart mp) throws javax.mail.MessagingException
setContent
in interface javax.mail.Part
setContent
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public void setContent(java.lang.Object o, java.lang.String type) throws javax.mail.MessagingException
setContent
in interface javax.mail.Part
setContent
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public void setDataHandler(javax.activation.DataHandler dh) throws javax.mail.MessagingException
setDataHandler
in interface javax.mail.Part
setDataHandler
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public void setText(java.lang.String text, java.lang.String charset, java.lang.String subtype) throws javax.mail.MessagingException
setText
in interface javax.mail.internet.MimePart
setText
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public void setText(java.lang.String text, java.lang.String charset) throws javax.mail.MessagingException
setText
in interface javax.mail.internet.MimePart
setText
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public void setText(java.lang.String text) throws javax.mail.MessagingException
setText
in interface javax.mail.internet.MimePart
setText
in interface javax.mail.Part
setText
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
public java.io.InputStream getInputStream() throws java.io.IOException, javax.mail.MessagingException
getInputStream
in interface javax.mail.Part
getInputStream
in class javax.mail.internet.MimeMessage
java.io.IOException
javax.mail.MessagingException
public void writeTo(java.io.OutputStream os, java.lang.String[] ignoreList) throws java.io.IOException, javax.mail.MessagingException
writeTo
in class javax.mail.internet.MimeMessage
java.io.IOException
javax.mail.MessagingException
public void writeTo(java.io.OutputStream os) throws java.io.IOException, javax.mail.MessagingException
writeTo
in interface javax.mail.Part
writeTo
in class javax.mail.internet.MimeMessage
java.io.IOException
javax.mail.MessagingException
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel