JSCAPE MFT Server

com.jscape.inet.mft.subsystems.reporting
Interface ReportFormatter

All Known Implementing Classes:
TemplateReportFormatter

public interface ReportFormatter

Report formatter.

Author:
Alex Usun

Nested Class Summary
static class ReportFormatter.FormatterException
          Formatter error.
 
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.
 

Method Detail

getMimeType

java.lang.String getMimeType()
Returns MIME media type returned from format method.

Returns:
supported MIME media type

format

java.lang.String format(Report report,
                        FormatterEnvironment environment)
                        throws ReportFormatter.FormatterException
Formats the specified report.

Parameters:
report - a report to format
environment - an environment
Returns:
a formatted report data
Throws:
ReportFormatter.FormatterException - if an error occurs

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved