public class CMSCompressedDataParser extends CMSContentInfoParser
CMSCompressedDataParser cp = new CMSCompressedDataParser(inputStream); process(cp.getContent().getContentStream());Note: this class does not introduce buffering - if you are processing large files you should create the parser with:
CMSCompressedDataParser ep = new CMSCompressedDataParser(new BufferedInputStream(inputStream, bufSize));where bufSize is a suitably large buffer size.
_contentInfo, _data
Constructor and Description |
---|
CMSCompressedDataParser(byte[] compressedData) |
CMSCompressedDataParser(java.io.InputStream compressedData) |
Modifier and Type | Method and Description |
---|---|
CMSTypedStream |
getContent() |
close
public CMSCompressedDataParser(byte[] compressedData) throws CMSException
CMSException
public CMSCompressedDataParser(java.io.InputStream compressedData) throws CMSException
CMSException
public CMSTypedStream getContent() throws CMSException
CMSException