|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.xfire.attachments.JavaMailAttachments
public class JavaMailAttachments
| Constructor Summary | |
|---|---|
JavaMailAttachments()
|
|
JavaMailAttachments(java.io.InputStream is,
java.lang.String contentType)
|
|
JavaMailAttachments(javax.mail.internet.MimeMultipart multipart)
Create Attachments from the MimeMultipart message. |
|
| Method Summary | |
|---|---|
void |
addPart(Attachment part)
|
void |
dispose()
|
java.lang.String |
getContentType()
Get the conetnt type of the whole message. |
javax.mail.internet.MimeMultipart |
getMimeMultipart()
|
Attachment |
getPart(java.lang.String id)
|
java.util.Iterator |
getParts()
|
java.lang.String |
getSoapContentType()
The Content-Type of the SOAP message part. |
Attachment |
getSoapMessage()
|
void |
setSoapContentType(java.lang.String soapContentType)
Set the content type of the soap message. |
void |
setSoapMessage(Attachment soapMessage)
|
int |
size()
|
void |
write(java.io.OutputStream out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaMailAttachments()
public JavaMailAttachments(java.io.InputStream is,
java.lang.String contentType)
throws javax.mail.MessagingException,
java.io.IOException
javax.mail.MessagingException
java.io.IOException
public JavaMailAttachments(javax.mail.internet.MimeMultipart multipart)
throws javax.mail.MessagingException
multipart -
javax.mail.MessagingException| Method Detail |
|---|
public Attachment getSoapMessage()
getSoapMessage in interface Attachmentspublic void setSoapMessage(Attachment soapMessage)
setSoapMessage in interface AttachmentssoapMessage - The soapMessage to set.public void addPart(Attachment part)
addPart in interface Attachmentspublic java.util.Iterator getParts()
getParts in interface Attachmentspublic Attachment getPart(java.lang.String id)
getPart in interface Attachmentspublic int size()
size in interface Attachments
public void write(java.io.OutputStream out)
throws java.io.IOException
write in interface Attachmentsjava.io.IOExceptionpublic javax.mail.internet.MimeMultipart getMimeMultipart()
public java.lang.String getContentType()
Attachments
getContentType in interface Attachmentspublic java.lang.String getSoapContentType()
getSoapContentType in interface Attachmentspublic void setSoapContentType(java.lang.String soapContentType)
Attachments
setSoapContentType in interface Attachmentspublic void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||