org.apache.commons.compress.compressors.bzip2
public class BZip2OutputStream extends OutputStream implements BZip2Constants
| Nested Class Summary | |
|---|---|
| static class | BZip2OutputStream.StackElem |
| Field Summary | |
|---|---|
| static int | CLEARMASK |
| static int | DEPTH_THRESH |
| static int | GREATER_ICOST |
| static int | LESSER_ICOST |
| static int | LOWER_BYTE_MASK |
| int | m_allowableBlockSize |
| char[] | m_block |
| int | m_blockCRC |
| boolean | m_blockRandomised |
| int | m_blockSize100k |
| int | m_bsBuff |
| int | m_bsLive |
| OutputStream | m_bsStream |
| boolean | m_closed |
| int | m_combinedCRC |
| CRC | m_crc |
| int | m_currentChar |
| boolean | m_firstAttempt |
| int[] | m_ftab |
| int[] | m_incs |
| boolean[] | m_inUse |
| int | m_last |
| int[] | m_mtfFreq |
| int | m_nInUse |
| int | m_nMTF |
| int | m_origPtr |
| int[] | m_quadrant |
| int | m_runLength |
| char[] | m_selector |
| char[] | m_selectorMtf |
| char[] | m_seqToUnseq |
| short[] | m_szptr |
| char[] | m_unseqToSeq |
| int | m_workDone |
| int | m_workFactor |
| int | m_workLimit |
| int[] | m_zptr |
| static int | QSORT_STACK_SIZE |
| static int | SETMASK |
| static int | SMALL_THRESH |
| static int | UPPER_BYTE_MASK |
| Constructor Summary | |
|---|---|
| BZip2OutputStream(OutputStream output) | |
| BZip2OutputStream(OutputStream output, int blockSize) | |
| 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) |
| static int | calculateWeight(int v1, int v2) |
| void | close() |
| void | doReversibleTransformation() |
| void | endBlock() |
| void | endCompression() |
| void | finalize() |
| void | flush() |
| boolean | fullGtU(int i1, int i2) |
| void | generateMTFValues() |
| void | hbAssignCodes(int[] code, char[] length, int minLen, int maxLen, int alphaSize) |
| 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() |
Parameters: bv Description of Parameter
Throws: java.io.IOException Description of Exception