| java.lang.Object sun.io.ByteToCharConverter sun.io.ByteToCharDoubleByte sun.io.ByteToCharJIS0208 sun.io.ByteToCharEUC_JP
Method Summary | |
protected char | convSingleByte(int b) | public int | convert(byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd) Converts sequences of bytes to characters. | public int | flush(char[] output, int outStart, int outEnd) | public String | getCharacterEncoding() | protected char | getUnicode(int byte1, int byte2) | public void | reset() Resets the converter. |
ByteToCharEUC_JP | public ByteToCharEUC_JP()(Code) | | |
convSingleByte | protected char convSingleByte(int b)(Code) | | |
convert | public int convert(byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd) throws UnknownCharacterException, ConversionBufferFullException(Code) | | Converts sequences of bytes to characters.
Conversions that result in Exceptions can be restarted by calling
convert again, with appropriately modified parameters.
the characters written to output. Parameters: input - byte array containing text in Double/single Byte Parameters: inStart - offset in input array Parameters: inEnd - offset of last byte to be converted Parameters: output - character array to receive conversion result Parameters: outStart - starting offset Parameters: outEnd - offset of last byte to be written to |
getCharacterEncoding | public String getCharacterEncoding()(Code) | | |
getUnicode | protected char getUnicode(int byte1, int byte2)(Code) | | |
reset | public void reset()(Code) | | Resets the converter.
Call this method to reset the converter to its initial state
|
Methods inherited from sun.io.ByteToCharDoubleByte | protected char convSingleByte(int b)(Code)(Java Doc) public int convert(byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd) throws UnknownCharacterException, MalformedInputException, ConversionBufferFullException(Code)(Java Doc) public int flush(char[] output, int outStart, int outEnd) throws MalformedInputException(Code)(Java Doc) protected char getUnicode(int byte1, int byte2)(Code)(Java Doc) public void reset()(Code)(Java Doc)
|
Methods inherited from sun.io.ByteToCharConverter | abstract public int convert(byte[] input, int inStart, int inEnd, char[] output, int outStart, int outEnd) throws MalformedInputException, UnknownCharacterException, ConversionBufferFullException(Code)(Java Doc) public char[] convertAll(byte input) throws MalformedInputException(Code)(Java Doc) abstract public int flush(char[] output, int outStart, int outEnd) throws MalformedInputException, ConversionBufferFullException(Code)(Java Doc) public int getBadInputLength()(Code)(Java Doc) abstract public String getCharacterEncoding()(Code)(Java Doc) public static ByteToCharConverter getConverter(String encoding) throws UnsupportedEncodingException(Code)(Java Doc) public static ByteToCharConverter getDefault()(Code)(Java Doc) public int getMaxCharsPerByte()(Code)(Java Doc) public int nextByteIndex()(Code)(Java Doc) public int nextCharIndex()(Code)(Java Doc) abstract public void reset()(Code)(Java Doc) public void setSubstitutionChars(char[] c) throws IllegalArgumentException(Code)(Java Doc) public void setSubstitutionMode(boolean doSub)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|