com.jscape.inet.mft.subsystems.reporting.html
Class MonthlyStatisticsFormatter
java.lang.Object
com.jscape.inet.mft.subsystems.reporting.html.HtmlMetricsFormatter
com.jscape.inet.mft.subsystems.reporting.html.MonthlyStatisticsFormatter
- All Implemented Interfaces:
- MetricsFormatter
public class MonthlyStatisticsFormatter
- extends HtmlMetricsFormatter
Average upload/download bytes for year months format.
- Author:
- Roman Sheshunov
Method Summary |
java.lang.String |
format(Metrics metrics,
com.jscape.inet.mft.subsystems.reporting.FormatEnvironment environment)
Formats the specified metrics. |
boolean |
supports(Metrics metrics)
Verifies if specified metrics is supported by this formatter instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonthlyStatisticsFormatter
public MonthlyStatisticsFormatter(ChartFormatter chartFormat,
TableFormatter tableFormat)
supports
public boolean supports(Metrics metrics)
- Description copied from interface:
MetricsFormatter
- Verifies if specified metrics is supported by this formatter instance.
- Parameters:
metrics
- a metrics to verify
- Returns:
true
if metrics is supported; false
otherwise
format
public java.lang.String format(Metrics metrics,
com.jscape.inet.mft.subsystems.reporting.FormatEnvironment environment)
throws MetricsFormatter.FormatterException
- Description copied from interface:
MetricsFormatter
- Formats the specified metrics.
- Specified by:
format
in interface MetricsFormatter
- Overrides:
format
in class HtmlMetricsFormatter
- Parameters:
metrics
- a metrics to formatenvironment
- an environment
- Returns:
- a formatted metrics data
- Throws:
MetricsFormatter.FormatterException
- if an error occurs
Copyright © JSCAPE LLC. 1999-2015. All Rights Reserved