private void transformSummary( String summaryXML ) throws java.io.IOException {
private void transformSummary( String summaryXML ) throws IOException {
    private void transformSummary( String summaryXML ) throws java.io.IOException {        summary = summaryXML;        StreamSource in = new StreamSource( new StringReader( summaryXML ) );        StringWriter html = new StringWriter();        StreamResult out = new StreamResult( html );	InputStream xslInputStream = this.getClass().getClassLoader().getResourceAsStream( "summary.xsl");	if ( xslInputStream == null ) {	    logger.logMessage(ConsoleLogger.WARNING, "Could not load summary stylesheet");	    summary = MISSING_SUMMARY_MESSAGE;	    return;	}        StreamSource xsl = new StreamSource( xslInputStream );          try { 	    TransformerFactory tf = TransformerFactory.newInstance();	    Transformer transformer = tf.newTransformer( xsl );            transformer.transform( in, out );            summary = html.toString();        }        catch( Exception e ) {            logger.logMessage(ConsoleLogger.WARNING,  "Failed to transform summary: " + e.toString());	    summary = MISSING_SUMMARY_MESSAGE;        }        Reader rdr = in.getReader();	if (rdr != null)	    rdr.close();        html.close();        InputStream is = xsl.getInputStream(); 	if (is != null)	    is.close();    }