com.jalios.jcms.monitoring
Class MonitoringChart

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

public class MonitoringChart
extends 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 String REVISION
           
 
Constructor Summary
MonitoringChart()
           
 
Method Summary
static File getJpegChart(Locale userLocale, Date startDate, 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 String REVISION
See Also:
Constant Field Values
Constructor Detail

MonitoringChart

public MonitoringChart()
Method Detail

getJpegChart

public static File getJpegChart(Locale userLocale,
                                Date startDate,
                                Date endDate,
                                int width,
                                int height)
                         throws 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:
IOException
Since:
jcms-5.7


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