com.jalios.jcms.monitoring
Class MonitoringChart

java.lang.Object
  extended by com.jalios.jcms.monitoring.MonitoringChart

public class MonitoringChart
extends java.lang.Object

This class creates monitoring chart based on events and measures managed by MonitoringManager

Since:
jcms-5.7
Version:
$Revision: 27867 $
Author:
Olivier Jaquemet

Field Summary
static java.lang.String REVISION
           
 
Constructor Summary
MonitoringChart()
           
 
Method Summary
static java.io.File getJpegChart(java.util.Locale userLocale, java.util.Date startDate, java.util.Date endDate, int width, int height)
          Generate a new chart using the given paremeter and save it in a JPEG file returned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final java.lang.String REVISION
See Also:
Constant Field Values
Constructor Detail

MonitoringChart

public MonitoringChart()
Method Detail

getJpegChart

public static java.io.File getJpegChart(java.util.Locale userLocale,
                                        java.util.Date startDate,
                                        java.util.Date endDate,
                                        int width,
                                        int height)
                                 throws java.io.IOException
Generate a new chart using the given paremeter and save it in a JPEG file returned

Parameters:
userLocale - the Locale to use fo I18N
startDate - the starting Date below which events are not read, if null, it is not used.
endDate - the ending Date above which events are not read, if null, it is not used.
width - the width of the chart to generate
height - the height of the chart to generate
Returns:
a new JFreeChart object corresponding to monitoring events between the given date
Throws:
java.io.IOException
Since:
jcms-5.7


Copyright © 2001-2010 Jalios SA. All Rights Reserved.