Code example for StringReader

0
   * @param xmlString a string representation of an XML document 
   * @return an {@code AndroidManifestReader} for the XML document 
   * @throws IOException 
   */ 
  public static AndroidManifestReader forString(String xmlString) throws IOException {
    return forReader(new StringReader(xmlString));
  } 
 
  private static AndroidManifestReader forReader(Reader reader) throws IOException {
    return new DefaultAndroidManifestReader(new InputSource(reader));
  } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java