org.expasy.jpl.commons.collection.stat
Class HistogramDataSetExporter

java.lang.Object
  extended by org.expasy.jpl.commons.collection.stat.HistogramDataSetExporter

public final class HistogramDataSetExporter
extends Object

This object exports HistogramDataSets into files or convert into other objects (for rendering for example).

Version:
1.0
Author:
nikitin

Method Summary
 void export(double[] values, String filename)
           
 void export(HistogramDataSet histo, String filename)
           
 void exportBinDisabled()
           
 void exportBinEnabled()
           
 void exportBinStatus(boolean status)
           
 boolean isBinExport()
           
 boolean isLoadCenterBin()
           
 void loadBinCenter()
           
 void loadBinLowerBound()
           
static HistogramDataSetExporter newInstance()
           
 void setBinExport(boolean isBinExport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static HistogramDataSetExporter newInstance()

exportBinEnabled

public void exportBinEnabled()

exportBinDisabled

public void exportBinDisabled()

exportBinStatus

public void exportBinStatus(boolean status)

loadBinCenter

public void loadBinCenter()

loadBinLowerBound

public void loadBinLowerBound()

export

public void export(double[] values,
                   String filename)
            throws IOException
Throws:
IOException

export

public void export(HistogramDataSet histo,
                   String filename)
            throws IOException
Throws:
IOException

isBinExport

public boolean isBinExport()
Returns:
the isBinExport

setBinExport

public void setBinExport(boolean isBinExport)
Parameters:
isBinExport - the isBinExport to set

isLoadCenterBin

public boolean isLoadCenterBin()
Returns:
the isLoadCenterBin


Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.