public class JAVAReader extends EncodingReader
| Constructor and Description |
|---|
JAVAReader()
Null-arg constructor for instantiation by com.caucho.vfs.Encoding only.
|
JAVAReader(java.io.InputStream is)
Create an ISO-8859-1 reader based on the readStream.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Reader |
create(java.io.InputStream is,
java.lang.String javaEncoding)
Create a ISO-8859-1 reader based on the readStream.
|
int |
read()
Reads the next character.
|
int |
read(char[] buf,
int offset,
int length)
Reads the next character.
|
close, create, getJavaEncoding, setJavaEncodingpublic JAVAReader()
public JAVAReader(java.io.InputStream is)
public java.io.Reader create(java.io.InputStream is,
java.lang.String javaEncoding)
create in class EncodingReaderis - the input stream providing the bytes.javaEncoding - the JDK name for the encoding.public int read()
throws java.io.IOException
read in class EncodingReaderjava.io.IOExceptionpublic int read(char[] buf,
int offset,
int length)
throws java.io.IOException
read in class EncodingReaderbuf - character buffer receiving the data.offset - starting offset into the buffer.length - number of characters to read.java.io.IOException