java.io
Class Reader
java.lang.Object
java.io.Reader
- Direct Known Subclasses:
- LejosInputStreamReader
public abstract class Reader
- extends Object
Basic Reader implementation. In contrast to the JDK, this class is NOT synchronized.
- Author:
- Sven Köhler
Constructor Summary |
protected |
Reader()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reader
protected Reader()
close
public abstract void close()
throws IOException
- Throws:
IOException
mark
public void mark(int position)
throws IOException
- Throws:
IOException
markSupported
public boolean markSupported()
read
public int read()
throws IOException
- Throws:
IOException
read
public int read(char[] cbuf)
throws IOException
- Throws:
IOException
read
public abstract int read(char[] cbuf,
int off,
int len)
throws IOException
- Throws:
IOException
ready
public boolean ready()
throws IOException
- Throws:
IOException
reset
public void reset()
throws IOException
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Throws:
IOException