public class CharSequenceInputStream
extends java.io.InputStream
Constructor and Description |
---|
CharSequenceInputStream(java.lang.CharSequence sequence,
java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] ary) |
int |
read(byte[] ary,
int offset,
int length) |
public CharSequenceInputStream(java.lang.CharSequence sequence, java.nio.charset.Charset charset)
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] ary)
read
in class java.io.InputStream
public int read(byte[] ary, int offset, int length)
read
in class java.io.InputStream