Package SevenZip.Compression.LZMA
Class Encoder
- java.lang.Object
-
- SevenZip.Compression.LZMA.Encoder
-
public class Encoder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intEMatchFinderTypeBT2static intEMatchFinderTypeBT4static intkNumLenSpecSymbolsstatic intkPropSize
-
Constructor Summary
Constructors Constructor Description Encoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidCode(java.io.InputStream inStream, java.io.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(java.io.OutputStream outStream)
-
-
-
Field Detail
-
EMatchFinderTypeBT2
public static final int EMatchFinderTypeBT2
- See Also:
- Constant Field Values
-
EMatchFinderTypeBT4
public static final int EMatchFinderTypeBT4
- See Also:
- Constant Field Values
-
kNumLenSpecSymbols
public static final int kNumLenSpecSymbols
- See Also:
- Constant Field Values
-
kPropSize
public static final int kPropSize
- See Also:
- Constant Field Values
-
-
Method Detail
-
CodeOneBlock
public void CodeOneBlock(long[] inSize, long[] outSize, boolean[] finished) throws java.io.IOException- Throws:
java.io.IOException
-
Code
public void Code(java.io.InputStream inStream, java.io.OutputStream outStream, long inSize, long outSize, ICodeProgress progress) throws java.io.IOException- Throws:
java.io.IOException
-
WriteCoderProperties
public void WriteCoderProperties(java.io.OutputStream outStream) throws java.io.IOException- Throws:
java.io.IOException
-
SetAlgorithm
public boolean SetAlgorithm(int algorithm)
-
SetDictionarySize
public boolean SetDictionarySize(int dictionarySize)
-
SetNumFastBytes
public boolean SetNumFastBytes(int numFastBytes)
-
SetMatchFinder
public boolean SetMatchFinder(int matchFinderIndex)
-
SetLcLpPb
public boolean SetLcLpPb(int lc, int lp, int pb)
-
SetEndMarkerMode
public void SetEndMarkerMode(boolean endMarkerMode)
-
-