com.sun.xml.ws.message
Class AttachmentUnmarshallerImpl
java.lang.Object
javax.xml.bind.attachment.AttachmentUnmarshaller
com.sun.xml.ws.message.AttachmentUnmarshallerImpl
public final class AttachmentUnmarshallerImpl
- extends AttachmentUnmarshaller
Implementation of AttachmentUnmarshaller
that uses
loads attachments from AttachmentSet
directly.
- See Also:
MimeMultipartParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentUnmarshallerImpl
public AttachmentUnmarshallerImpl(AttachmentSet attachments)
getAttachmentAsDataHandler
public javax.activation.DataHandler getAttachmentAsDataHandler(String cid)
- Specified by:
getAttachmentAsDataHandler
in class AttachmentUnmarshaller
getAttachmentAsByteArray
public byte[] getAttachmentAsByteArray(String cid)
- Specified by:
getAttachmentAsByteArray
in class AttachmentUnmarshaller