Code example for StringReader

0
  } 
 
  @Override 
  public BufferedReader getInput() throws IOException 
  { 
    return new BufferedReader(new StringReader(testString)); 
  } 
}