try {  generateSummary(); BugCollection bugCollection = getBugCollection(); Document document = bugCollection.toDocument(getProject());   InputStream xslInputStream = this.getClass().getClassLoader().getResourceAsStream(stylesheet); if (xslInputStream == null) throw new IOException("Could not load HTML generation stylesheet " + stylesheet); StreamSource xsl = new StreamSource(xslInputStream);   TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(xsl);   DocumentSource source = new DocumentSource(document);   StreamResult result = new StreamResult(outputStream);   transformer.transform(source, result); } catch (Exception e) { logError("Could not generate HTML output: " + e.toString()); }
	public void finish() {		// TODO: use an XSL stylesheet to generate HTML output	}