|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Reader
com.caucho.vfs.i18n.EncodingReader
com.caucho.vfs.i18n.JAVAReader
public class JAVAReader
Implements an encoding reader for the Java (ascii) encoding
| Field Summary |
|---|
| Fields inherited from class java.io.Reader |
|---|
lock |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.vfs.i18n.EncodingReader |
|---|
close, create, getJavaEncoding, setJavaEncoding |
| Methods inherited from class java.io.Reader |
|---|
mark, markSupported, read, read, ready, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAVAReader()
public JAVAReader(java.io.InputStream is)
| Method Detail |
|---|
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.IOException
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||