org.bouncycastle.mail.smime
Class CMSProcessableBodyPartOutbound
java.lang.Object
org.bouncycastle.mail.smime.CMSProcessableBodyPartOutbound
- CMSProcessable
public class CMSProcessableBodyPartOutbound
extends java.lang.Object
a holding class for a BodyPart to be processed which does CRLF canocicalisation if
dealing with non-binary data.
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.
|
CMSProcessableBodyPartOutbound
public CMSProcessableBodyPartOutbound(BodyPart bodyPart)
Create a processable with the default transfer encoding of 7bit
bodyPart
- body part to be processed
CMSProcessableBodyPartOutbound
public CMSProcessableBodyPartOutbound(BodyPart bodyPart,
String defaultContentTransferEncoding)
Create a processable with the a default transfer encoding of
the passed in value.
bodyPart
- body part to be processeddefaultContentTransferEncoding
- the new default to use.
write
public void write(OutputStream out)
throws IOException,
CMSException
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
Note: this routine may be called multiple times.
- write in interface CMSProcessable