Documentation of 'net.sourceforge.openforecast.output.TimeSeriesOutputter' Java class
TimeSeriesOutputter
net.sourceforge.openforecast.output

Class TimeSeriesOutputter

  • All Implemented Interfaces:
    Outputter


    public class TimeSeriesOutputter
    extends java.lang.Object
    implements Outputter
    Defines an Outputter that can be used to add the DataPoints from a DataSet to a (JFreeChart) TimeSeries. This class provides for a quick and easy "export" of forecast data points to a JFreeChart TimeSeries that can be displayed in a JFreeChart.
    Since:
    0.4
    See Also:
    JFreeChart
    • Constructor Summary

      Constructors 
      Constructor and Description
      TimeSeriesOutputter(org.jfree.data.time.TimeSeries timeSeries, java.lang.Class<?> timePeriodClass)
      Constructs a new TimeSeriesOutputter that adds its output to the named TimeSeries.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void output(DataSet dataSet)
      Adds a DataSet - a collection of DataPoints - to the current TimeSeries.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimeSeriesOutputter

        public TimeSeriesOutputter(org.jfree.data.time.TimeSeries timeSeries,
                                   java.lang.Class<?> timePeriodClass)
                            throws java.lang.ClassNotFoundException,
                                   java.lang.NoSuchMethodException
        Constructs a new TimeSeriesOutputter that adds its output to the named TimeSeries.
        Parameters:
        timeSeries - the TimeSeries to add output to.
        Throws:
        java.lang.ClassNotFoundException
        java.lang.NoSuchMethodException
    • Method Detail

      • output

        public void output(DataSet dataSet)
                    throws java.lang.InstantiationException,
                           java.lang.IllegalAccessException,
                           java.lang.reflect.InvocationTargetException,
                           java.lang.InstantiationException
        Adds a DataSet - a collection of DataPoints - to the current TimeSeries. The DataSet should contain all DataPoints to be output.
        Specified by:
        output in interface Outputter
        Parameters:
        dataSet - the DataSet to be output to the current TimeSeries.
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.