public class CMSProcessableBodyPartOutbound extends Object implements CMSProcessable
| Constructor and Description |
|---|
CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart)
Create a processable with the default transfer encoding of 7bit
|
CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart,
String defaultContentTransferEncoding)
Create a processable with the a default transfer encoding of
the passed in value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getContent() |
void |
write(OutputStream out)
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
|
public CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart)
bodyPart - body part to be processedpublic CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart,
String defaultContentTransferEncoding)
bodyPart - body part to be processeddefaultContentTransferEncoding - the new default to use.public void write(OutputStream out) throws IOException, CMSException
CMSProcessableNote: this routine may be called multiple times.
write in interface CMSProcessableIOExceptionCMSExceptionpublic Object getContent()
getContent in interface CMSProcessableCopyright © 2015. All rights reserved.