com.waveset.util
Class URLUTF8Decoder.ByteToCharConverter
java.lang.Object
com.waveset.util.URLUTF8Decoder.ByteToCharConverter
- Direct Known Subclasses:
- URLUTF8Decoder.ByteToCharUTF8
- Enclosing class:
- URLUTF8Decoder
- public abstract static class URLUTF8Decoder.ByteToCharConverter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subMode
protected boolean subMode
subChars
protected char[] subChars
charOff
protected int charOff
byteOff
protected int byteOff
badInputLength
protected int badInputLength
URLUTF8Decoder.ByteToCharConverter
public URLUTF8Decoder.ByteToCharConverter()
convert
public abstract int convert(byte[] abyte0,
int i,
int j,
char[] ac,
int k,
int l)
throws java.io.CharConversionException
- Throws:
java.io.CharConversionException
flush
public abstract int flush(char[] ac,
int i,
int j)
throws java.io.CharConversionException
- Throws:
java.io.CharConversionException
reset
public abstract void reset()
getMaxCharsPerByte
public int getMaxCharsPerByte()
getBadInputLength
public int getBadInputLength()
nextCharIndex
public int nextCharIndex()
nextByteIndex
public int nextByteIndex()
setSubstitutionMode
public void setSubstitutionMode(boolean flag)
setSubstitutionChars
public void setSubstitutionChars(char[] ac)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException