Package SevenZip.Compression.LZMA
Class Encoder
java.lang.Object
SevenZip.Compression.LZMA.Encoder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Code
(InputStream inStream, OutputStream outStream, long inSize, long outSize, ICodeProgress progress) void
CodeOneBlock
(long[] inSize, long[] outSize, boolean[] finished) boolean
SeNumFastBytes
(int numFastBytes) boolean
SetAlgorithm
(int algorithm) boolean
SetDictionarySize
(int dictionarySize) void
SetEndMarkerMode
(boolean endMarkerMode) boolean
SetLcLpPb
(int lc, int lp, int pb) boolean
SetMatchFinder
(int matchFinderIndex) void
WriteCoderProperties
(OutputStream outStream)
-
Field Details
-
EMatchFinderTypeBT2
public static final int EMatchFinderTypeBT2- See Also:
-
EMatchFinderTypeBT4
public static final int EMatchFinderTypeBT4- See Also:
-
kNumLenSpecSymbols
public static final int kNumLenSpecSymbols- See Also:
-
kPropSize
public static final int kPropSize- See Also:
-
-
Constructor Details
-
Encoder
public Encoder()
-
-
Method Details
-
CodeOneBlock
- Throws:
IOException
-
Code
public void Code(InputStream inStream, OutputStream outStream, long inSize, long outSize, ICodeProgress progress) throws IOException - Throws:
IOException
-
WriteCoderProperties
- Throws:
IOException
-
SetAlgorithm
public boolean SetAlgorithm(int algorithm) -
SetDictionarySize
public boolean SetDictionarySize(int dictionarySize) -
SeNumFastBytes
public boolean SeNumFastBytes(int numFastBytes) -
SetMatchFinder
public boolean SetMatchFinder(int matchFinderIndex) -
SetLcLpPb
public boolean SetLcLpPb(int lc, int lp, int pb) -
SetEndMarkerMode
public void SetEndMarkerMode(boolean endMarkerMode)
-