org.bouncycastle.mail.smime

Class CMSProcessableBodyPart

Implemented Interfaces:
CMSProcessable

public class CMSProcessableBodyPart
extends java.lang.Object
implements CMSProcessable

a holding class for a BodyPart to be processed.

Constructor Summary

CMSProcessableBodyPart(BodyPart bodyPart)

Method Summary

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.

Constructor Details

CMSProcessableBodyPart

public CMSProcessableBodyPart(BodyPart bodyPart)

Method Details

getContent

public Object getContent()
Specified by:
getContent in interface CMSProcessable

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.

Specified by:
write in interface CMSProcessable