org.anadix.impl
Class SimpleReportFormatter
java.lang.Object
org.anadix.impl.DefaultReportFormatter
org.anadix.impl.SimpleReportFormatter
- All Implemented Interfaces:
- ReportFormatter
public class SimpleReportFormatter
- extends DefaultReportFormatter
Simple formatter for Anadix reports. Produces output that should be used for debuging mainly.
- Version:
- $Id: $
- Author:
- tomason
|
Method Summary |
String |
format(Report report)
Most important method that returns String containing formatted results. |
String |
getReportFileExtension()
Gets the extension that should be used for report files when storing formatted reports. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleReportFormatter
public SimpleReportFormatter()
format
public String format(Report report)
- Most important method that returns String containing formatted results.
The content of the String depends on implementation of this method, it
may be simple text as well as XML, HTML or any other format.
- Parameters:
report - - report to create output from
- Returns:
- formatted Report as a String
getReportFileExtension
public String getReportFileExtension()
- Gets the extension that should be used for report files when storing formatted reports.
- Specified by:
getReportFileExtension in interface ReportFormatter- Overrides:
getReportFileExtension in class DefaultReportFormatter
- Returns:
- extension of newly created report files or null if no extension
is necessary
Copyright © 2011. All Rights Reserved.