| java.lang.Object sun.io.CharToByteConverter sun.io.CharToByteEUC
All known Subclasses: sun.io.CharToByteCp33722, sun.io.CharToByteCp964,
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 int | getMaxBytesPerChar() Returns the maximum number of bytes needed to convert a char. | public void | reset() Resets converter to its initial state. |
index1 | protected short index1(Code) | | |
mask1 | protected int mask1(Code) | | |
mask2 | protected int mask2(Code) | | |
shift | protected int shift(Code) | | |
canConvert | public boolean canConvert(char ch)(Code) | | Returns true if the given character can be converted to the
target character encoding.
|
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)
|
|
|