org.bouncycastle.mail.smime

Class CMSProcessableBodyPartInbound

public class CMSProcessableBodyPartInbound extends Object implements CMSProcessable

a holding class for a BodyPart to be processed which does CRLF canonicalisation if dealing with non-binary data.
Constructor Summary
CMSProcessableBodyPartInbound(BodyPart bodyPart)
Create a processable with the default transfer encoding of 7bit
CMSProcessableBodyPartInbound(BodyPart bodyPart, String defaultContentTransferEncoding)
Create a processable with the a default transfer encoding of the passed in value.
Method Summary
ObjectgetContent()
voidwrite(OutputStream out)

Constructor Detail

CMSProcessableBodyPartInbound

public CMSProcessableBodyPartInbound(BodyPart bodyPart)
Create a processable with the default transfer encoding of 7bit

Parameters: bodyPart body part to be processed

CMSProcessableBodyPartInbound

public CMSProcessableBodyPartInbound(BodyPart bodyPart, String defaultContentTransferEncoding)
Create a processable with the a default transfer encoding of the passed in value.

Parameters: bodyPart body part to be processed defaultContentTransferEncoding the new default to use.

Method Detail

getContent

public Object getContent()

write

public void write(OutputStream out)