org.anadix.impl
Class DefaultReportFormatter
java.lang.Object
org.anadix.impl.DefaultReportFormatter
- All Implemented Interfaces:
- ReportFormatter
- Direct Known Subclasses:
- SimpleReportFormatter, XHTMLReportFormatter
public abstract class DefaultReportFormatter
- extends Object
- implements ReportFormatter
Abstract class for ReportFormatter
- Version:
- $Id: $
- Author:
- tomason
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultReportFormatter
public DefaultReportFormatter()
formatAndStore
public void formatAndStore(Report report,
OutputStream os)
- Formats the Report and stores the results of formatting to given OutputStream
- Specified by:
formatAndStore in interface ReportFormatter
- Parameters:
report - - report to formatos - - instance of OutputStream used to store the report
formatAndStore
public void formatAndStore(Report report,
Writer w)
- Formats the Report and stores the results of formatting to given Writer
- Specified by:
formatAndStore in interface ReportFormatter
- Parameters:
report - - report to formatw - - instance of Writer used to store the report
getReportFileExtension
public String getReportFileExtension()
- Gets the extension that should be used for report files when storing formatted reports.
- Specified by:
getReportFileExtension in interface ReportFormatter
- Returns:
- extension of newly created report files or null if no extension
is necessary
Copyright © 2011. All Rights Reserved.