public class ReaderUTF8 extends Reader
| Constructor and Description |
|---|
ReaderUTF8(InputStream is)
Constructor.
|
public ReaderUTF8(InputStream is)
is - A byte input stream.public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class Readercbuf - Destination buffer.off - Offset at which to start storing characters.len - Maximum number of characters to read.IOException - If any IO errors occur.UnsupportedEncodingException - If UCS-4 character occur in the stream.public int read()
throws IOException
read in class ReaderIOException - If any IO errors occur.UnsupportedEncodingException - If UCS-4 character occur in the stream.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOException - If any IO errors occur.Copyright © 2012 code4tv.com. All Rights Reserved.