public final class AttachmentUnmarshallerImpl extends AttachmentUnmarshaller
AttachmentUnmarshaller
that uses
loads attachments from AttachmentSet
directly.MimeMultipartParser
Constructor and Description |
---|
AttachmentUnmarshallerImpl(AttachmentSet attachments) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAttachmentAsByteArray(String cid) |
javax.activation.DataHandler |
getAttachmentAsDataHandler(String cid) |
isXOPPackage
public AttachmentUnmarshallerImpl(AttachmentSet attachments)
public javax.activation.DataHandler getAttachmentAsDataHandler(String cid)
getAttachmentAsDataHandler
in class AttachmentUnmarshaller
public byte[] getAttachmentAsByteArray(String cid)
getAttachmentAsByteArray
in class AttachmentUnmarshaller
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.