java.io
Reader
Declarationpublic abstract class Reader
java.lang.Object
|
+--java.io.Reader
Direct Known Subclasses: InputStreamReader
Description
Abstract class for reading character streams. The only methods that a subclass must implement are read(char[],
int, int) and close(). Most subclasses, however, will override some of the methods defined here in order to
provide higher efficiency, additional functionality, or both.
Since: JDK1.1, CLDC 1.0
Fields
protected
java.lang.Object
lock
Constructors
protected Reader()
protected Reader(java.lang.Object lock)
Methods
abstract void close()
void mark(int readAheadLimit)
boolean markSupported()
int read()
int read(char[] cbuf)
abstract int read(char[] cbuf, int off, int len)
boolean ready()
void reset()
long skip(long n)
Methods inherited from class Object
Inherited Member Summary
equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(),
wait(), wait()
No comments:
Post a Comment