Package org.jcodings.transcode.specific
Class Iso2022jp_encoder_Transcoder
- java.lang.Object
-
- org.jcodings.transcode.Transcoder
-
- org.jcodings.transcode.specific.Iso2022jp_encoder_Transcoder
-
- All Implemented Interfaces:
TranscodingInstruction
public class Iso2022jp_encoder_Transcoder extends Transcoder
-
-
Field Summary
Fields Modifier and Type Field Description static Transcoder
INSTANCE
-
Fields inherited from class org.jcodings.transcode.Transcoder
compatibility, inputUnitLength, maxInput, maxOutput
-
Fields inherited from interface org.jcodings.transcode.TranscodingInstruction
FOURbt, FUNii, FUNio, FUNsi, FUNsio, FUNso, GB4bt, INVALID, LAST, NOMAP, NOMAP_RESUME_1, ONEbt, STR1, THREEbt, TWObt, UNDEF, ZERObt, ZeroXResume_1, ZeroXResume_2
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Iso2022jp_encoder_Transcoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
finish(byte[] statep, byte[] p, int start, int size)
boolean
hasFinish()
int
resetSize(byte[] statep)
int
resetState(byte[] statep, byte[] p, int start, int size)
int
startToOutput(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)
int
stateFinish(byte[] state)
int
stateInit(byte[] statep)
-
Methods inherited from class org.jcodings.transcode.Transcoder
getDestination, getSource, hasStateInit, infoToInfo, infoToOutput, load, startInfoToOutput, startToInfo, toString, toStringFull, transcoding
-
-
-
-
Field Detail
-
INSTANCE
public static final Transcoder INSTANCE
-
-
Method Detail
-
stateInit
public int stateInit(byte[] statep)
- Overrides:
stateInit
in classTranscoder
-
stateFinish
public int stateFinish(byte[] state)
- Overrides:
stateFinish
in classTranscoder
-
startToOutput
public int startToOutput(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize)
- Overrides:
startToOutput
in classTranscoder
-
hasFinish
public boolean hasFinish()
- Overrides:
hasFinish
in classTranscoder
-
finish
public int finish(byte[] statep, byte[] p, int start, int size)
- Overrides:
finish
in classTranscoder
-
resetSize
public int resetSize(byte[] statep)
- Overrides:
resetSize
in classTranscoder
-
resetState
public int resetState(byte[] statep, byte[] p, int start, int size)
- Overrides:
resetState
in classTranscoder
-
-