|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.subsystems.reporting.TemplateReportFormatter
public class TemplateReportFormatter
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.jscape.inet.mft.subsystems.reporting.ReportFormatter |
---|
ReportFormatter.FormatterException |
Constructor Summary | |
---|---|
TemplateReportFormatter(com.jscape.util.io.DataSource templateFile,
java.util.Collection<MetricsFormatter> metricsFormatters)
|
Method Summary | |
---|---|
java.lang.String |
format(Report report,
FormatterEnvironment environment)
Formats the specified report. |
java.lang.String |
getMimeType()
Returns MIME media type returned from format method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateReportFormatter(com.jscape.util.io.DataSource templateFile, java.util.Collection<MetricsFormatter> metricsFormatters)
Method Detail |
---|
public java.lang.String getMimeType()
ReportFormatter
format
method.
getMimeType
in interface ReportFormatter
public java.lang.String format(Report report, FormatterEnvironment environment) throws ReportFormatter.FormatterException
ReportFormatter
format
in interface ReportFormatter
report
- a report to formatenvironment
- an environment
ReportFormatter.FormatterException
- if an error occurs
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |