JML

java.io
Class Reader

java.lang.Object
  extended byjava.io.Reader
All Implemented Interfaces:
Closeable, Readable
Direct Known Subclasses:
BufferedReader

public abstract class Reader
extends Object
implements Readable, Closeable


Field Summary
protected  Object lock
           
private static int maxSkipBufferSize
           
private  char[] skipBuffer
           
 
Constructor Summary
protected Reader()
           
protected Reader(Object)
           
 
Method Summary
abstract  void close()
           
 void mark(int)
           
 boolean markSupported()
           
 int read()
           
 int read(char[])
           
abstract  int read(char[], int, int)
           
 int read(CharBuffer)
           
 boolean ready()
           
 void reset()
           
 long skip(long)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxSkipBufferSize

private static final int maxSkipBufferSize

lock

protected Object lock

skipBuffer

private char[] skipBuffer
Constructor Detail

Reader

protected Reader()

Reader

protected Reader(Object)
Method Detail

read

public int read(CharBuffer)
         throws IOException
Specified by:
read in interface Readable
Throws:
IOException

read

public int read()
         throws IOException
Throws:
IOException

read

public int read(char[])
         throws IOException
Throws:
IOException

read

public abstract int read(char[],
                         int,
                         int)
                  throws IOException
Throws:
IOException

skip

public long skip(long)
          throws IOException
Throws:
IOException

ready

public boolean ready()
              throws IOException
Throws:
IOException

markSupported

public boolean markSupported()

mark

public void mark(int)
          throws IOException
Throws:
IOException

reset

public void reset()
           throws IOException
Throws:
IOException

close

public abstract void close()
                    throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.