org.pentaho.chart.plugin
Class OutputUtils

java.lang.Object
  extended by org.pentaho.chart.plugin.OutputUtils

public class OutputUtils
extends Object

Todo: Document me!

Author:
: Thomas Morgner

Constructor Summary
OutputUtils()
           
 
Method Summary
static void persistChart(IOutput output, String filePath, IOutput.OutputTypes fileType, int width, int height)
           
static void persistMap(IOutput output, String filePath)
          Persists the current map to the filePath.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputUtils

public OutputUtils()
Method Detail

persistChart

public static void persistChart(IOutput output,
                                String filePath,
                                IOutput.OutputTypes fileType,
                                int width,
                                int height)
                         throws PersistenceException,
                                IOException
Throws:
PersistenceException
IOException

persistMap

public static void persistMap(IOutput output,
                              String filePath)
                       throws PersistenceException,
                              IOException
Persists the current map to the filePath. The the postfix of ".map" is added to the filename.

For this call to be useful it should follow a call to PersistChart.

Parameters:
output -
filePath -
Throws:
PersistenceException
IOException