public abstract class Transcoder extends Object
| Modifier and Type | Field and Description |
|---|---|
AsciiCompatibility |
compatibility |
static int |
FOURbt |
static int |
FUNii |
static int |
FUNio |
static int |
FUNsi |
static int |
FUNsio |
static int |
FUNso |
static int |
GB4bt |
int |
inputUnitLength |
static int |
INVALID |
static int |
LAST |
int |
maxInput |
int |
maxOutput |
static int |
NOMAP |
static int |
NOMAP_RESUME_1 |
static int |
ONEbt |
static int |
STR1 |
static int |
THREEbt |
static int |
TWObt |
static int |
UNDEF |
static int |
ZERObt |
static int |
ZeroXResume_1 |
static int |
ZeroXResume_2 |
| Modifier | Constructor and Description |
|---|---|
protected |
Transcoder(byte[] source,
byte[] destination,
int treeStart,
String arrayKey,
int inputUnitLength,
int maxInput,
int maxOutput,
AsciiCompatibility compatibility,
int stateSize) |
protected |
Transcoder(String source,
String destination,
int treeStart,
String arrayKey,
int inputUnitLength,
int maxInput,
int maxOutput,
AsciiCompatibility compatibility,
int stateSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
finish(byte[] statep,
byte[] p,
int start,
int size) |
byte[] |
getDestination() |
byte[] |
getSource() |
boolean |
hasFinish() |
boolean |
hasStateInit() |
int |
infoToInfo(byte[] statep,
int o) |
int |
infoToOutput(byte[] statep,
int nextInfo,
byte[] p,
int start,
int size) |
static Transcoder |
load(String name) |
int |
resetSize(byte[] statep) |
int |
resetState(byte[] statep,
byte[] p,
int start,
int size) |
int |
startInfoToOutput(byte[] statep,
byte[] s,
int sStart,
int l,
int info,
byte[] o,
int oStart,
int oSize) |
int |
startToInfo(byte[] statep,
byte[] s,
int sStart,
int l) |
int |
startToOutput(byte[] statep,
byte[] s,
int sStart,
int l,
byte[] o,
int oStart,
int oSize) |
int |
stateFinish(byte[] stateFinish) |
int |
stateInit(byte[] statep) |
String |
toString() |
String |
toStringFull() |
Transcoding |
transcoding(int flags) |
public final int inputUnitLength
public final int maxInput
public final int maxOutput
public final AsciiCompatibility compatibility
public static final int NOMAP
public static final int ONEbt
public static final int TWObt
public static final int THREEbt
public static final int FOURbt
public static final int INVALID
public static final int UNDEF
public static final int ZERObt
public static final int FUNii
public static final int FUNsi
public static final int FUNio
public static final int FUNso
public static final int STR1
public static final int GB4bt
public static final int FUNsio
public static final int LAST
public static final int NOMAP_RESUME_1
public static final int ZeroXResume_1
public static final int ZeroXResume_2
protected Transcoder(byte[] source,
byte[] destination,
int treeStart,
String arrayKey,
int inputUnitLength,
int maxInput,
int maxOutput,
AsciiCompatibility compatibility,
int stateSize)
protected Transcoder(String source, String destination, int treeStart, String arrayKey, int inputUnitLength, int maxInput, int maxOutput, AsciiCompatibility compatibility, int stateSize)
public byte[] getSource()
public byte[] getDestination()
public boolean hasStateInit()
public int stateInit(byte[] statep)
public int stateFinish(byte[] stateFinish)
public int infoToInfo(byte[] statep,
int o)
public int startToInfo(byte[] statep,
byte[] s,
int sStart,
int l)
public int infoToOutput(byte[] statep,
int nextInfo,
byte[] p,
int start,
int size)
public boolean hasFinish()
public int finish(byte[] statep,
byte[] p,
int start,
int size)
public int resetSize(byte[] statep)
public int resetState(byte[] statep,
byte[] p,
int start,
int size)
public int startToOutput(byte[] statep,
byte[] s,
int sStart,
int l,
byte[] o,
int oStart,
int oSize)
public int startInfoToOutput(byte[] statep,
byte[] s,
int sStart,
int l,
int info,
byte[] o,
int oStart,
int oSize)
public final Transcoding transcoding(int flags)
public static Transcoder load(String name)
public String toStringFull()
Copyright © 2016. All Rights Reserved.