| java.lang.Object java.io.Reader com.sun.cldc.i18n.StreamReader
All known Subclasses: com.sun.cldc.i18n.j2me.UTF_8_Reader, com.sun.cldc.i18n.j2me.ISO8859_1_Reader, com.sun.cldc.i18n.j2me.Gen_Reader, com.sun.cldc.i18n.j2me.UTF_16_Reader, com.sun.cldc.i18n.j2me.UTF_16BE_Reader,
StreamReader | abstract public class StreamReader extends Reader (Code) | | General prototype for character converting stream readers.
version: 1.0 11/16/99 version: 1.1 05/24/01 |
Method Summary | |
public void | close() Close the stream. | public void | mark(int readAheadLimit) Mark the present position in the stream. | public boolean | markSupported() Tell whether this stream supports the mark() operation. | public Reader | open(InputStream in, String enc) | public boolean | ready() Tell whether the underlying byte stream is ready to be read. | public void | reset() Reset the stream. | abstract public int | sizeOf(byte[] array, int offset, int length) |
mark | public void mark(int readAheadLimit) throws IOException(Code) | | Mark the present position in the stream.
exception: IOException - If an I/O error occurs |
markSupported | public boolean markSupported()(Code) | | Tell whether this stream supports the mark() operation.
|
ready | public boolean ready()(Code) | | Tell whether the underlying byte stream is ready to be read. Return
false for those streams that do not support available(), such as the
Win32 console stream.
|
sizeOf | abstract public int sizeOf(byte[] array, int offset, int length)(Code) | | Get the size in chars of an array of bytes
|
|
|