|
||||||||||
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 Attachments
public void setSoapMessage(Attachment soapMessage)
setSoapMessage
in interface Attachments
soapMessage
- The soapMessage to set.public void addPart(Attachment part)
addPart
in interface Attachments
public java.util.Iterator getParts()
getParts
in interface Attachments
public Attachment getPart(java.lang.String id)
getPart
in interface Attachments
public int size()
size
in interface Attachments
public void write(java.io.OutputStream out) throws java.io.IOException
write
in interface Attachments
java.io.IOException
public javax.mail.internet.MimeMultipart getMimeMultipart()
public java.lang.String getContentType()
Attachments
getContentType
in interface Attachments
public java.lang.String getSoapContentType()
getSoapContentType
in interface Attachments
public void setSoapContentType(java.lang.String soapContentType)
Attachments
setSoapContentType
in interface Attachments
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |