|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectjavax.mail.Multipart
javax.mail.internet.MimeMultipart
tourguide.MimeContent
Helps compose a MIME document.
| Constructor Summary | |
MimeContent()
|
|
| Method Summary | |
void |
addImage(java.awt.image.BufferedImage img)
Adds an jpeg image to the document. |
void |
addTextList(java.util.List tl)
Adds a list of text strings to the document. |
void |
addTextMedia(java.lang.String aTextPart)
Adds a text part to the document. |
byte[] |
byteArrayContent()
Provides the MIME document content. |
| Methods inherited from class javax.mail.internet.MimeMultipart |
getBodyPart, getBodyPart, getCount, setSubType, writeTo |
| Methods inherited from class javax.mail.Multipart |
addBodyPart, addBodyPart, getContentType, getParent, removeBodyPart, removeBodyPart, setParent |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MimeContent()
| Method Detail |
public void addImage(java.awt.image.BufferedImage img)
throws java.io.IOException
img - a buffered image content.
java.io.IOExceptionpublic void addTextList(java.util.List tl)
tl - a list of text strings.public void addTextMedia(java.lang.String aTextPart)
aTextPart - the text to be added.public byte[] byteArrayContent()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||