public class

CMSProcessableBodyPartInbound

extends Object
implements CMSProcessable
java.lang.Object
   ↳ org.bouncycastle.mail.smime.CMSProcessableBodyPartInbound

Class Overview

a holding class for a BodyPart to be processed which does CRLF canonicalisation if dealing with non-binary data.

Summary

Public Constructors
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.
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cms.CMSProcessable

Public Constructors

public CMSProcessableBodyPartInbound (BodyPart bodyPart)

Create a processable with the default transfer encoding of 7bit

Parameters
bodyPart body part to be processed

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.

Public Methods

public Object getContent ()

public 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.

Note: this routine may be called multiple times.