public class AttachmentPartImpl extends AttachmentPart
| Constructor and Description |
|---|
AttachmentPartImpl() |
AttachmentPartImpl(MIMEPart part) |
getContentId, getContentLocation, getContentType, setContentId, setContentLocation, setContentTypeprotected static final Logger log
public AttachmentPartImpl()
public AttachmentPartImpl(MIMEPart part)
public int getSize()
throws SOAPException
getSize in class AttachmentPartSOAPExceptionpublic void clearContent()
clearContent in class AttachmentPartpublic Object getContent() throws SOAPException
getContent in class AttachmentPartSOAPExceptionpublic void setContent(Object object, String contentType) throws IllegalArgumentException
setContent in class AttachmentPartIllegalArgumentExceptionpublic DataHandler getDataHandler() throws SOAPException
getDataHandler in class AttachmentPartSOAPExceptionpublic void setDataHandler(DataHandler dataHandler) throws IllegalArgumentException
setDataHandler in class AttachmentPartIllegalArgumentExceptionpublic void removeAllMimeHeaders()
removeAllMimeHeaders in class AttachmentPartpublic void removeMimeHeader(String header)
removeMimeHeader in class AttachmentPartpublic String[] getMimeHeader(String name)
getMimeHeader in class AttachmentPartpublic void setMimeHeader(String name, String value)
setMimeHeader in class AttachmentPartpublic void addMimeHeader(String name, String value)
addMimeHeader in class AttachmentPartpublic Iterator<MimeHeader> getAllMimeHeaders()
getAllMimeHeaders in class AttachmentPartpublic Iterator<MimeHeader> getMatchingMimeHeaders(String[] names)
getMatchingMimeHeaders in class AttachmentPartpublic Iterator<MimeHeader> getNonMatchingMimeHeaders(String[] names)
getNonMatchingMimeHeaders in class AttachmentPartpublic static void copyMimeHeaders(MimeHeaders headers, MimeBodyPart mbp) throws SOAPException
SOAPExceptionpublic static void copyMimeHeaders(MimeBodyPart mbp, AttachmentPartImpl ap) throws SOAPException
SOAPExceptionpublic void setBase64Content(InputStream content, String contentType) throws SOAPException
setBase64Content in class AttachmentPartSOAPExceptionpublic InputStream getBase64Content() throws SOAPException
getBase64Content in class AttachmentPartSOAPExceptionpublic void setRawContent(InputStream content, String contentType) throws SOAPException
setRawContent in class AttachmentPartSOAPExceptionpublic void setRawContentBytes(byte[] content,
int off,
int len,
String contentType)
throws SOAPException
setRawContentBytes in class AttachmentPartSOAPExceptionpublic InputStream getRawContent() throws SOAPException
getRawContent in class AttachmentPartSOAPExceptionpublic byte[] getRawContentBytes()
throws SOAPException
getRawContentBytes in class AttachmentPartSOAPExceptionpublic MimeHeaders getMimeHeaders()
public static void initializeJavaActivationHandlers()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.