| java.lang.Object sun.io.CharToByteConverter sun.io.CharToByteDBCS_EBCDIC
All known Subclasses: sun.io.CharToByteCp930, sun.io.CharToByteCp935, sun.io.CharToByteCp937, sun.io.CharToByteCp939,
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. | public void | setSubstitutionBytes(byte[] newSubBytes) Sets the substitution bytes to use when the converter is in
substitution mode. |
index1 | protected short index1(Code) | | |
mask1 | protected int mask1(Code) | | |
mask2 | protected int mask2(Code) | | |
shift | protected int shift(Code) | | |
CharToByteDBCS_EBCDIC | public CharToByteDBCS_EBCDIC()(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.
|
setSubstitutionBytes | public void setSubstitutionBytes(byte[] newSubBytes) throws IllegalArgumentException(Code) | | Sets the substitution bytes to use when the converter is in
substitution mode. The given bytes should represent a valid
character in the target character encoding.
|
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)
|
|
|