java.io
Class Reader

java.lang.Object
  extended by 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()
           
 
Method Summary
abstract  void close()
           
 void mark(int position)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reader

protected Reader()
Method Detail

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