| java.lang.Object com.sun.xml.ws.encoding.MimeMultipartParser
MimeMultipartParser | final public class MimeMultipartParser (Code) | | Parses Mime multipart message into primary part and attachment parts. It
parses the stream lazily as and when required.
author: Vivek Pandey author: Jitendra Kotamraju |
Inner Class :static class PartAttachment implements Attachment | |
getAttachmentPart | public Attachment getAttachmentPart(String contentId) throws IOException(Code) | | This method can be called to get a matching MIME attachment part for the
given contentId. It parses the stream until it finds a matching part.
StreamAttachment attachment for contentIdnull if there is no attachment for contentId |
getAttachmentParts | public Map<String, Attachment> getAttachmentParts()(Code) | | Parses the entire stream and returns all MIME parts except root MIME part.
Map for all attachment parts |
getRootPart | public Attachment getRootPart()(Code) | | Parses the stream and returns the root part. If start parameter is
present in Content-Type, it is used to determine the root part, otherwise
root part is the first part.
StreamAttachment for root partnull if root part cannot be found |
|
|