net.sf.clichart.main
Interface ChartGenerator

All Known Implementing Classes:
DefaultChartGenerator

public interface ChartGenerator

Interface for a stateful object that can generate a chart when asked

Author:
johnd

Method Summary
 void clear()
          Clear all set options.
 void generateChart(Options options)
          Parse the provided data (from the supplied input file within the options, or from stdin if null), and either display a chart in an interactive window or save it to a file (depending on the present of an output path in the options).
 

Method Detail

generateChart

void generateChart(Options options)
                   throws java.io.IOException,
                          InvalidDataException,
                          InvalidOptionsException,
                          ChartSaverException
Parse the provided data (from the supplied input file within the options, or from stdin if null), and either display a chart in an interactive window or save it to a file (depending on the present of an output path in the options).

Parameters:
options - Options used for parsing data and generating chart
Throws:
java.io.IOException - If not able to read input data or write chart
InvalidDataException - Input data was invalid (or didn't match the options provided)
InvalidOptionsException
ChartSaverException

clear

void clear()
Clear all set options.