kz.gamma.cms
Class CMSCompressedDataParser
java.lang.Object
kz.gamma.cms.CMSContentInfoParser
kz.gamma.cms.CMSCompressedDataParser
public class CMSCompressedDataParser
- extends CMSContentInfoParser
Class for reading a CMS Compressed Data stream.
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMSCompressedDataParser
public CMSCompressedDataParser(byte[] compressedData)
throws CMSException
- Throws:
CMSException
CMSCompressedDataParser
public CMSCompressedDataParser(java.io.InputStream compressedData)
throws CMSException
- Throws:
CMSException
getContent
public CMSTypedStream getContent()
throws CMSException
- Throws:
CMSException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.