java.io
Class StringReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.StringReader

public synchronized class StringReader
extends Reader


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
StringReader(String)
           
 
Method Summary
 void close()
           
 void mark(int)
           
 boolean markSupported()
           
 int read()
           
 int read(char[], int, int)
           
 boolean ready()
           
 void reset()
           
 long skip(long)
           
 
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

StringReader

public StringReader(String)
Method Detail

read

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

read

public int read(char[],
                int,
                int)
         throws IOException
Specified by:
read in class Reader
IOException

skip

public long skip(long)
          throws IOException
Overrides:
skip in class Reader
IOException

ready

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

markSupported

public boolean markSupported()
Overrides:
markSupported in class Reader

mark

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

reset

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

close

public void close()
Specified by:
close in class Reader