|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.encoding.MimeMultipartParser
public final class MimeMultipartParser
Parses Mime multipart message into primary part and attachment parts. It parses the stream lazily as and when required.
| Constructor Summary | |
|---|---|
MimeMultipartParser(java.io.InputStream in,
java.lang.String cType,
StreamingAttachmentFeature feature)
|
|
| Method Summary | |
|---|---|
Attachment |
getAttachmentPart(java.lang.String contentId)
This method can be called to get a matching MIME attachment part for the given contentId. |
java.util.Map<java.lang.String,Attachment> |
getAttachmentParts()
Parses the entire stream and returns all MIME parts except root MIME part. |
ContentTypeImpl |
getContentType()
|
Attachment |
getRootPart()
Parses the stream and returns the root part. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MimeMultipartParser(java.io.InputStream in,
java.lang.String cType,
StreamingAttachmentFeature feature)
| Method Detail |
|---|
@Nullable public Attachment getRootPart()
@NotNull public java.util.Map<java.lang.String,Attachment> getAttachmentParts()
@Nullable
public Attachment getAttachmentPart(java.lang.String contentId)
throws java.io.IOException
java.io.IOExceptionpublic ContentTypeImpl getContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||