| java.lang.Object sun.io.CharToByteConverter sun.io.CharToByteDoubleByte sun.io.CharToByteJIS0208 sun.io.CharToByteEUC_JP
convSingleByte | protected int convSingleByte(char inputChar, byte[] outputByte)(Code) | | |
convert | public int convert(char[] input, int inOff, int inEnd, byte[] output, int outOff, int outEnd) throws MalformedInputException, UnknownCharacterException, ConversionBufferFullException(Code) | | Converts characters to sequences of bytes.
Conversions that result in Exceptions can be restarted by calling
convert again, with appropriately modified parameters.
the characters written to output. Parameters: input - char array containing text in Unicode Parameters: inStart - offset in input array Parameters: inEnd - offset of last byte to be converted Parameters: output - byte array to receive conversion result Parameters: outStart - starting offset Parameters: outEnd - offset of last byte to be written to |
getCharacterEncoding | public String getCharacterEncoding()(Code) | | |
getMaxBytesPerChar | public int getMaxBytesPerChar()(Code) | | the maximum number of bytes needed to hold a converted char
|
getNative | protected int getNative(char ch)(Code) | | |
Methods inherited from sun.io.CharToByteDoubleByte | public boolean canConvert(char ch)(Code)(Java Doc) protected int convSingleByte(char inputChar, byte[] outputByte)(Code)(Java Doc) public int convert(char[] input, int inOff, int inEnd, byte[] output, int outOff, int outEnd) throws MalformedInputException, UnknownCharacterException, ConversionBufferFullException(Code)(Java Doc) public int flush(byte[] output, int outStart, int outEnd) throws MalformedInputException, ConversionBufferFullException(Code)(Java Doc) public int getMaxBytesPerChar()(Code)(Java Doc) protected int getNative(char ch)(Code)(Java Doc) public void reset()(Code)(Java Doc)
|
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)
|
|
|