| java.lang.Object sun.io.CharToByteConverter sun.io.CharToByteCp970
Method Summary | |
public boolean | canConvert(char ch) Returns true if the given character can be converted to the
target character encoding. | public int | convert(char[] input, int inOff, int inEnd, byte[] output, int outOff, int outEnd) | public int | flush(byte[] output, int outStart, int outEnd) | public String | getCharacterEncoding() | public int | getMaxBytesPerChar() | public void | reset() Resets converter to its initial state. |
CharToByteCp970 | public CharToByteCp970()(Code) | | |
canConvert | public boolean canConvert(char ch)(Code) | | Returns true if the given character can be converted to the
target character encoding.
|
getCharacterEncoding | public String getCharacterEncoding()(Code) | | Return the character set ID
|
getMaxBytesPerChar | public int getMaxBytesPerChar()(Code) | | returns the maximum number of bytes needed to convert a char
|
reset | public void reset()(Code) | | Resets converter to its initial state.
|
Methods inherited from sun.io.CharToByteConverter | public boolean canConvert(char c)(Code)(Java Doc) abstract public int convert(char[] input, int inStart, int inEnd, byte[] output, int outStart, int outEnd) throws MalformedInputException, UnknownCharacterException, ConversionBufferFullException(Code)(Java Doc) public byte[] convertAll(char input) throws MalformedInputException(Code)(Java Doc) public int convertAny(char[] input, int inStart, int inEnd, byte[] output, int outStart, int outEnd) throws ConversionBufferFullException(Code)(Java Doc) abstract public int flush(byte[] output, int outStart, int outEnd) throws MalformedInputException, ConversionBufferFullException(Code)(Java Doc) public int flushAny(byte[] output, int outStart, int outEnd) throws ConversionBufferFullException(Code)(Java Doc) public int getBadInputLength()(Code)(Java Doc) abstract public String getCharacterEncoding()(Code)(Java Doc) public static CharToByteConverter getConverter(String encoding) throws UnsupportedEncodingException(Code)(Java Doc) public static CharToByteConverter getDefault()(Code)(Java Doc) abstract public int getMaxBytesPerChar()(Code)(Java Doc) public int nextByteIndex()(Code)(Java Doc) public int nextCharIndex()(Code)(Java Doc) abstract public void reset()(Code)(Java Doc) public void setSubstitutionBytes(byte[] newSubBytes) throws IllegalArgumentException(Code)(Java Doc) public void setSubstitutionMode(boolean doSub)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|