com.klg.jclass.chart.data
Class JCStringDataSource
java.lang.Object
|
+--com.klg.jclass.chart.ChartDataSupport
|
+--com.klg.jclass.chart.data.BaseDataSource
|
+--com.klg.jclass.chart.data.JCInputStreamDataSource
|
+--com.klg.jclass.chart.data.JCStringDataSource
- All Implemented Interfaces:
- ChartDataManageable, ChartDataManager, ChartDataModel, HoleValueChartDataModel, com.klg.jclass.chart.ImageMapChartDataModel, LabelledChartDataModel, Serializable
- public class JCStringDataSource
- extends JCInputStreamDataSource
Data source that reads data from the provided String.
- See Also:
- Serialized Form
Fields inherited from class com.klg.jclass.chart.data.BaseDataSource |
cloneArrays, clusterImageMapInfo, holeValue, legendImageMapInfo, name, pointImageMapInfo, pointLabels, seriesImageMapInfo, seriesLabels, xvalues, yvalues |
Constructor Summary |
JCStringDataSource(String source)
Pulls the data from the String source according to the default
interpreter. |
JCStringDataSource(String source,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Pulls the data from the String source according to the specified
interpreter. |
Methods inherited from class com.klg.jclass.chart.data.BaseDataSource |
cloneCheck, cloneCheck, cloneCheck, getChartDataManager, getCloneArrays, getClusterImageMapInfo, getDataSourceName, getHoleValue, getLegendImageMapInfo, getNumSeries, getPointImageMapInfo, getPointLabels, getSeriesImageMapInfo, getSeriesLabels, getXSeries, getYSeries, setCloneArrays |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCStringDataSource
public JCStringDataSource(String source)
throws IOException
- Pulls the data from the String source according to the default
interpreter.
- Parameters:
source
- String containing data to interpret
- Throws:
IOException
- An IOException
will be thrown if
there's a null String passed as data source.
JCStringDataSource
public JCStringDataSource(String source,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
throws IOException
- Pulls the data from the String source according to the specified
interpreter.
- Parameters:
source
- String containing data to interpretipr
- parse used to interpret data
- Throws:
IOException
- An IOException
will be thrown if
there's a null String passed as data source