SevenZip.Compression.LZMA

Class Encoder

public class Encoder extends Object

Field Summary
static intEMatchFinderTypeBT2
static intEMatchFinderTypeBT4
static intkNumLenSpecSymbols
static intkPropSize
Constructor Summary
Encoder()
Method Summary
voidCode(InputStream inStream, OutputStream outStream, long inSize, long outSize, ICodeProgress progress)
voidCodeOneBlock(long[] inSize, long[] outSize, boolean[] finished)
booleanSetAlgorithm(int algorithm)
booleanSetDictionarySize(int dictionarySize)
voidSetEndMarkerMode(boolean endMarkerMode)
booleanSetLcLpPb(int lc, int lp, int pb)
booleanSetMatchFinder(int matchFinderIndex)
booleanSetNumFastBytes(int numFastBytes)
voidWriteCoderProperties(OutputStream outStream)

Field Detail

EMatchFinderTypeBT2

public static final int EMatchFinderTypeBT2

EMatchFinderTypeBT4

public static final int EMatchFinderTypeBT4

kNumLenSpecSymbols

public static final int kNumLenSpecSymbols

kPropSize

public static final int kPropSize

Constructor Detail

Encoder

public Encoder()

Method Detail

Code

public void Code(InputStream inStream, OutputStream outStream, long inSize, long outSize, ICodeProgress progress)

CodeOneBlock

public void CodeOneBlock(long[] inSize, long[] outSize, boolean[] finished)

SetAlgorithm

public boolean SetAlgorithm(int algorithm)

SetDictionarySize

public boolean SetDictionarySize(int dictionarySize)

SetEndMarkerMode

public void SetEndMarkerMode(boolean endMarkerMode)

SetLcLpPb

public boolean SetLcLpPb(int lc, int lp, int pb)

SetMatchFinder

public boolean SetMatchFinder(int matchFinderIndex)

SetNumFastBytes

public boolean SetNumFastBytes(int numFastBytes)

WriteCoderProperties

public void WriteCoderProperties(OutputStream outStream)