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() |
closepublic CMSCompressedDataParser(byte[] compressedData)
throws CMSException
CMSExceptionpublic CMSCompressedDataParser(java.io.InputStream compressedData)
throws CMSException
CMSExceptionpublic CMSTypedStream getContent() throws CMSException
CMSExceptionCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.