Code example for StringReader

Methods: read

0
      * 
      * @exception IOException if the original StringReader fails to be read 
      */ 
     public int read() throws IOException 
     { 
         return in.read();
     } 
 
     /*** 
      * Closes the Stringreader. 
      * 
      * @exception IOException if the original StringReader fails to be closed 
      */ 
     public void close() throws IOException 
     { 
         in.close();
     } 
 
     /*** 
      * Marks the read limit of the StringReader. 
      *