|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.tools.report.Report
public class Report
Class to generate a human-readable report from an XML log.
Constructor Summary | |
---|---|
Report(java.io.InputStream xml,
java.lang.String stylesheet)
Constructor |
Method Summary | |
---|---|
void |
generateReport(java.io.OutputStream output,
java.lang.String level)
Generates the human-readable report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Report(java.io.InputStream xml, java.lang.String stylesheet)
xml
- A stream representation of the XML log to transform.stylesheet
- An xsl stylesheet file name.Method Detail |
---|
public void generateReport(java.io.OutputStream output, java.lang.String level) throws javax.xml.transform.TransformerException
output
- The stream where the human-readable report will be
produced.level
- Specify the severity level and above to include in the
report. Valid values are 'info', 'warning', and 'error'.
SeverityException
- For an invalid severity level.
javax.xml.transform.TransformerException
- If there was an error producing the report.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |