| Modifier and Type | Field and Description |
|---|---|
| pack-priv CompressedDataPacket |
| Access | Constructor and Description |
|---|---|
| public | PGPCompressedData(byte[]
an encoding of PGP compressed data. encData)Construct a PGP compressed data object from the passed in byte array. |
| public | PGPCompressedData(InputStream
an input stream containing an encoding of PGP compressed data. inStream)Construct a PGP compressed data object from the passed in input stream. |
| public | PGPCompressedData(BCPGInputStream
a PGP input stream, with a compressed data packet as the current packet. pIn)Construct a compressed data object, reading a single |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the compression algorithm codeReturn the |
| public InputStream | Returns: a stream over the uncompressed data.Return an input stream that decompresses and returns data in the compressed packet. |
| public InputStream | Returns: the raw data in the compressed data packet.Return the raw input stream contained in the object. |
| data | back to summary |
|---|---|
| pack-priv CompressedDataPacket data | |
| PGPCompressedData | back to summary |
|---|---|
| public PGPCompressedData(byte[] encData) throws IOException Construct a PGP compressed data object from the passed in byte array.
| |
| PGPCompressedData | back to summary |
|---|---|
| public PGPCompressedData(InputStream inStream) throws IOException Construct a PGP compressed data object from the passed in input stream.
| |
| PGPCompressedData | back to summary |
|---|---|
| public PGPCompressedData(BCPGInputStream pIn) throws IOException Construct a compressed data object, reading a single
| |
| getAlgorithm | back to summary |
|---|---|
| public int getAlgorithm() Return the
| |
| getDataStream | back to summary |
|---|---|
| public InputStream getDataStream() throws PGPException Return an input stream that decompresses and returns data in the compressed packet.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Return the raw input stream contained in the object. Note that this stream is shared with the decompression stream, so consuming the returned stream will affect decompression.
| |