public final class ByteArrayInputStreamReader extends InputStreamReader
Constructor and Description |
---|
ByteArrayInputStreamReader(byte[] barr,
Charset charset) |
ByteArrayInputStreamReader(byte[] barr,
String charsetName)
Deprecated.
use instead
|
ByteArrayInputStreamReader(ByteArrayInputStream bais,
Charset charset) |
ByteArrayInputStreamReader(ByteArrayInputStream bais,
String charsetName)
Deprecated.
|
ByteArrayInputStreamReader(String str,
Charset charset) |
ByteArrayInputStreamReader(String str,
String charsetName)
Deprecated.
use instead
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
Charset |
getCharset() |
String |
getEncoding() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int offset,
int length) |
int |
read(CharBuffer target) |
boolean |
ready() |
void |
reset() |
long |
skip(long n) |
public ByteArrayInputStreamReader(ByteArrayInputStream bais, Charset charset) throws IOException
IOException
public ByteArrayInputStreamReader(byte[] barr, Charset charset) throws IOException
IOException
public ByteArrayInputStreamReader(String str, Charset charset) throws IOException
IOException
public ByteArrayInputStreamReader(ByteArrayInputStream bais, String charsetName) throws IOException
ByteArrayInputStreamReader(ByteArrayInputStream, Charset)
bais
- charsetName
- IOException
public ByteArrayInputStreamReader(byte[] barr, String charsetName) throws IOException
ByteArrayInputStreamReader(byte[], Charset)
barr
- charsetName
- IOException
public ByteArrayInputStreamReader(String str, String charsetName) throws IOException
ByteArrayInputStreamReader(String, Charset)
str
- charsetName
- IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStreamReader
IOException
public String getEncoding()
getEncoding
in class InputStreamReader
public Charset getCharset()
public int read() throws IOException
read
in class InputStreamReader
IOException
public int read(char[] cbuf, int offset, int length) throws IOException
read
in class InputStreamReader
IOException
public boolean ready() throws IOException
ready
in class InputStreamReader
IOException
public void mark(int readAheadLimit) throws IOException
mark
in class Reader
IOException
public boolean markSupported()
markSupported
in class Reader
public int read(CharBuffer target) throws IOException
read
in interface Readable
read
in class Reader
IOException
public int read(char[] cbuf) throws IOException
read
in class Reader
IOException
public void reset() throws IOException
reset
in class Reader
IOException
public long skip(long n) throws IOException
skip
in class Reader
IOException
Copyright © 2015 Lucee