ice.util.encoding
Class ReaderUTF8
java.lang.Object
java.io.Reader
ice.util.encoding.ReaderUTF8
- public class ReaderUTF8
- extends Reader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LONGEST_UTF8_CHAR_BYTES_LENGTH
public static final int LONGEST_UTF8_CHAR_BYTES_LENGTH
- See Also:
- Constant Field Values
BROKEN_UTF8_CHAR_MARK
public static final int BROKEN_UTF8_CHAR_MARK
- Indicate sequence of one or more bad UTF-8 bytes
- See Also:
- Constant Field Values
NONJAVA_CHAR_MARK
public static final int NONJAVA_CHAR_MARK
- Indicate ISO-10646 char that is bigger then 0xFFFF
- See Also:
- Constant Field Values
ReaderUTF8
public ReaderUTF8(InputStream is)
ReaderUTF8
public ReaderUTF8(InputStream is,
int decodingBufferSize)
isThrowOnBadUTF8
public boolean isThrowOnBadUTF8()
setThrowOnBadUTF8
public void setThrowOnBadUTF8(boolean value)
ready
public boolean ready()
read
public int read()
throws IOException
- Throws:
IOException
read
public int read(char[] array,
int offset,
int length)
throws IOException
- Throws:
IOException
skip
public long skip(long length)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException