|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bluecast.xml.ISO8859_1XMLDecoder
Converts bytes to ISO8859-1 characters while converting carriage returns into linefeeds and CRLF into LF. Checks for invalid XML characters.
| Constructor Summary | |
ISO8859_1XMLDecoder()
|
|
| Method Summary | |
void |
decode(byte[] in_buf,
int in_off,
int in_len,
char[] out_buf,
int out_off,
int out_len,
int[] result)
Decodes an array of bytes into characters. |
int |
maxBytesPerChar()
Minimum number of characters produced per byte using this decoder. |
int |
minBytesPerChar()
Minimum number of characters produced per byte using this decoder. |
CharsetDecoder |
newInstance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ISO8859_1XMLDecoder()
| Method Detail |
public CharsetDecoder newInstance()
newInstance in interface CharsetDecoderpublic int minBytesPerChar()
CharsetDecoder
minBytesPerChar in interface CharsetDecoderpublic int maxBytesPerChar()
CharsetDecoder
maxBytesPerChar in interface CharsetDecoder
public void decode(byte[] in_buf,
int in_off,
int in_len,
char[] out_buf,
int out_off,
int out_len,
int[] result)
throws java.io.CharConversionException
CharsetDecoder
decode in interface CharsetDecoderin_buf - input byte bufferin_off - starting byte buffer offsetin_len - max number of bytes to readout_buf - output character bufferout_off - char buffer offset at which to start writingout_len - max number of chars to writeresult - an array of size >= 2 where results are returned:
result[0] = number of bytes read.
result[1] = number of chars written
java.io.CharConversionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||