java.io
Class PushbackReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.FilterReader
              |
              +--java.io.PushbackReader

public synchronized class PushbackReader
extends FilterReader


Field Summary
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
PushbackReader(Reader)
           
PushbackReader(Reader, int)
           
 
Method Summary
 void close()
           
 void mark(int)
           
 boolean markSupported()
           
 int read()
           
 int read(char[], int, int)
           
 boolean ready()
           
 void reset()
           
 void unread(char[])
           
 void unread(char[], int, int)
           
 void unread(int)
           
 
Methods inherited from class java.io.FilterReader
skip
 
Methods inherited from class java.io.Reader
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

PushbackReader

public PushbackReader(Reader,
                      int)

PushbackReader

public PushbackReader(Reader)
Method Detail

read

public int read()
         throws IOException
Overrides:
read in class FilterReader
IOException

read

public int read(char[],
                int,
                int)
         throws IOException
Overrides:
read in class FilterReader
IOException

unread

public void unread(int)
            throws IOException
IOException

unread

public void unread(char[],
                   int,
                   int)
            throws IOException
IOException

unread

public void unread(char[])
            throws IOException
IOException

ready

public boolean ready()
              throws IOException
Overrides:
ready in class FilterReader
IOException

mark

public void mark(int)
          throws IOException
Overrides:
mark in class FilterReader
IOException

reset

public void reset()
           throws IOException
Overrides:
reset in class FilterReader
IOException

markSupported

public boolean markSupported()
Overrides:
markSupported in class FilterReader

close

public void close()
           throws IOException
Overrides:
close in class FilterReader
IOException