public class Encoder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
EMatchFinderTypeBT2 |
static int |
EMatchFinderTypeBT4 |
static int |
kNumLenSpecSymbols |
| Constructor and Description |
|---|
Encoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
code(LZMAEncoder.LZMAOutputState state,
long inSize,
long outSize) |
void |
codeOneBlock(long[] inSize,
long[] outSize,
boolean[] finished) |
boolean |
setAlgorithm(int algorithm) |
boolean |
setDictionarySize(int dictionarySize) |
void |
setEndMarkerMode(boolean endMarkerMode) |
boolean |
setLcLpPb(int lc,
int lp,
int pb) |
boolean |
setMatchFinder(int matchFinderIndex) |
boolean |
setNumFastBytes(int numFastBytes) |
void |
writeCoderProperties(Buffer dst) |
public static final int EMatchFinderTypeBT2
public static final int EMatchFinderTypeBT4
public static final int kNumLenSpecSymbols
public void codeOneBlock(long[] inSize,
long[] outSize,
boolean[] finished)
throws java.io.IOException
java.io.IOExceptionpublic void code(LZMAEncoder.LZMAOutputState state, long inSize, long outSize) throws java.io.IOException
java.io.IOExceptionpublic void writeCoderProperties(Buffer dst) throws java.io.IOException
java.io.IOExceptionpublic boolean setAlgorithm(int algorithm)
public boolean setDictionarySize(int dictionarySize)
public boolean setNumFastBytes(int numFastBytes)
public boolean setMatchFinder(int matchFinderIndex)
public boolean setLcLpPb(int lc,
int lp,
int pb)
public void setEndMarkerMode(boolean endMarkerMode)
Copyright © 2013 Oracle Corporation. All Rights Reserved.