public class AttachmentSerializer
extends java.lang.Object
| Constructor and Description |
|---|
AttachmentSerializer(Message messageParam) |
AttachmentSerializer(Message messageParam,
java.lang.String multipartType,
boolean writeOptionalTypeParameters,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isXop() |
void |
setContentTransferEncoding(java.lang.String cte) |
void |
setXop(boolean xop) |
void |
writeAttachments()
Write the end of the body boundary and any attachments included.
|
void |
writeProlog()
Serialize the beginning of the attachment which includes the MIME
beginning and headers for the root message.
|
public AttachmentSerializer(Message messageParam)
public AttachmentSerializer(Message messageParam, java.lang.String multipartType, boolean writeOptionalTypeParameters, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
public void writeProlog()
throws java.io.IOException
java.io.IOExceptionpublic void setContentTransferEncoding(java.lang.String cte)
public void writeAttachments()
throws java.io.IOException
java.io.IOExceptionpublic boolean isXop()
public void setXop(boolean xop)