|
||||||||||
| 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(InputStream in,
String cType,
StreamingAttachmentFeature feature)
|
|
| Method Summary | |
|---|---|
Attachment |
getAttachmentPart(String contentId)
This method can be called to get a matching MIME attachment part for the given contentId. |
Map<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(InputStream in,
String cType,
StreamingAttachmentFeature feature)
| Method Detail |
|---|
@Nullable public Attachment getRootPart()
@NotNull public Map<String,Attachment> getAttachmentParts()
@Nullable
public Attachment getAttachmentPart(String contentId)
throws IOException
IOExceptionpublic ContentTypeImpl getContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||