|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.axis.attachments.MimeUtils
This class is defines utilities for mime.
Field Summary | |
static java.lang.String[] |
filter
Field filter |
Constructor Summary | |
MimeUtils()
|
Method Summary | |
static MimeMultipart |
createMP(java.lang.String env,
java.util.Collection parts)
This routine will create a multipart object from the parts and the SOAP content. |
static long |
getContentLength(Multipart mp)
Determine as efficiently as possible the content length for attachments in a mail Multipart. |
static java.lang.String |
getContentType(MimeMultipart mp)
This routine will get the content type. |
static void |
writeToMultiPartStream(java.io.OutputStream os,
MimeMultipart mp)
This routine will the multi part type and write it out to a stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String[] filter
Constructor Detail |
public MimeUtils()
Method Detail |
public static long getContentLength(Multipart mp) throws MessagingException
mp
- is the multipart to be serarched.
MessagingException
public static void writeToMultiPartStream(java.io.OutputStream os, MimeMultipart mp)
Note that is does *NOT* pass AxisProperties
to Session.getInstance
, but instead
the System properties.
os
- is the output stream to write to.mp
- the multipart that needs to be written to the stream.public static java.lang.String getContentType(MimeMultipart mp)
mp
-
public static MimeMultipart createMP(java.lang.String env, java.util.Collection parts) throws AxisFault (src)
env
- should be the text for the main root part.parts
- contain a collection of the message parts.
AxisFault (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |