question: private static void parse ( InputStream in , Encoding encoding , ContentHandler contentHandler ) throws IOException , SAXException { try { XMLReader reader = new ExpatReader ( ) ; reader . setContentHandler ( contentHandler ) ; InputSource source = new InputSource ( in ) ; source . setEncoding ( encoding . expatName ) ; reader . parse ( source ) ; } catch ( IOException e ) { throw new AssertionError ( e ) ; } }
target:  Parses xml from the given input stream and fires events on the given SAX handler.