org.codehaus.plexus.archiver.bzip2
public class CBZip2OutputStream extends OutputStream implements BZip2Constants
Version: $Revision: 2436 $ $Date: 2005-09-01 13:20:41 -0400 (Thu, 01 Sep 2005) $ from org.apache.ant.tools.bzip2.CBZip2OutputStream v1.22
| Nested Class Summary | |
|---|---|
| static class | CBZip2OutputStream.StackElem |
| Field Summary | |
|---|---|
| int | allowableBlockSize |
| char[] | block |
| int | blockCRC |
| boolean | blockRandomised |
| int | blockSize100k |
| int | bsBuff |
| int | bsLive |
| OutputStream | bsStream |
| int | bytesOut |
| boolean | closed |
| int | combinedCRC |
| int | currentChar |
| protected static int | CLEARMASK |
| protected static int | DEPTH_THRESH |
| boolean | firstAttempt |
| int[] | ftab |
| protected static int | GREATER_ICOST |
| int[] | incs |
| boolean[] | inUse |
| int | last |
| protected static int | LESSER_ICOST |
| CRC | mCrc |
| int[] | mtfFreq |
| int | nBlocksRandomised |
| int | nInUse |
| int | nMTF |
| int | origPtr |
| int[] | quadrant |
| protected static int | QSORT_STACK_SIZE |
| int | runLength |
| char[] | selector |
| char[] | selectorMtf |
| char[] | seqToUnseq |
| short[] | szptr |
| protected static int | SETMASK |
| protected static int | SMALL_THRESH |
| char[] | unseqToSeq |
| int | workDone |
| int | workFactor |
| int | workLimit |
| int[] | zptr |
| Constructor Summary | |
|---|---|
| CBZip2OutputStream(OutputStream inStream) | |
| CBZip2OutputStream(OutputStream inStream, int inBlockSize) | |
| Method Summary | |
|---|---|
| void | allocateCompressStructures() |
| void | bsFinishedWithStream() |
| void | bsPutint(int u) |
| void | bsPutIntVS(int numBits, int c) |
| void | bsPutUChar(int c) |
| void | bsSetStream(OutputStream f) |
| void | bsW(int n, int v) |
| void | close() |
| void | doReversibleTransformation() |
| void | endBlock() |
| void | endCompression() |
| protected void | finalize() |
| void | flush() |
| boolean | fullGtU(int i1, int i2) |
| void | generateMTFValues() |
| void | hbAssignCodes(int[] code, char[] length, int minLen, int maxLen, int alphaSize) |
| protected static void | hbMakeCodeLengths(char[] len, int[] freq, int alphaSize, int maxLen) |
| void | initBlock() |
| void | initialize() |
| void | mainSort() |
| void | makeMaps() |
| char | med3(char a, char b, char c) |
| void | moveToFrontCodeAndSend() |
| static void | panic() |
| void | qSort3(int loSt, int hiSt, int dSt) |
| void | randomiseBlock() |
| void | sendMTFValues() |
| void | simpleSort(int lo, int hi, int d) |
| void | vswap(int p1, int p2, int n) |
| void | write(int bv)
modified by Oliver Merkel, 010128 |
| void | writeRun() |