gnu.crypto.assembly
Class DeflateTransformer
(package private) class DeflateTransformer
A
Transformer Adapter allowing inclusion of a DEFLATE compression
algorithm in an
Assembly chain. The
Direction.FORWARD
transformation is a compression (deflate) of input data, while the
Direction.REVERSED one is a decompression (inflate) that restores
the original data.
This
Transformer uses a
Deflater instance to carry on the
compression, and an
Inflater to do the decompression.
When using such a
Transformer, in an
Assembly, there must
be at least one element behind this instance in the constructed chain;
otherwise, a
TransformerException is thrown at initialisation time.
Version:
currentBlockSize, delegateBlockSize, getCascadeTransformer, getDeflateTransformer, getPaddingTransformer, init, initDelegate, isPostProcessing, isPreProcessing, lastUpdate, lastUpdate, lastUpdate, lastUpdate, lastUpdateDelegate, reset, resetDelegate, setMode, update, update, update, updateDelegate |
DeflateTransformer
(package private) DeflateTransformer()
Trivial protected constructor.
delegateBlockSize
(package private) int delegateBlockSize()
- delegateBlockSize in interface Transformer
resetDelegate
(package private) void resetDelegate()
- resetDelegate in interface Transformer
updateDelegate
(package private) byte[] updateDelegate(byte[] in,
int offset,
int length)
throws TransformerException- updateDelegate in interface Transformer
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.