Code example for StringReader

0
    return content;
  } 
 
  @Override 
  public Reader reader() throws IOException {
    return new StringReader(content);
  } 
 
  @Override 
  public String filename() {
    return filename;
  } 
 
  @Override 
  public long lastModified() { 
    return lastModified;
  } 
 
}