JClass DesktopViews 6.3.0 API
Documentation

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

Field Summary
 
Fields inherited from class com.klg.jclass.chart.data.JCInputStreamDataSource
charsetName, interpreter
 
Fields inherited from class com.klg.jclass.chart.data.BaseDataSource
cloneArrays, clusterImageMapInfo, holeValue, legendImageMapInfo, name, pointImageMapInfo, pointLabels, seriesImageMapInfo, seriesLabels, xvalues, yvalues
 
Fields inherited from class com.klg.jclass.chart.ChartDataSupport
source
 
Fields inherited from interface com.klg.jclass.chart.ChartDataModel
ALL
 
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.JCInputStreamDataSource
ctor, ctor, getCharsetName, getInterpreter, setCharsetName, setInterpreter
 
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 com.klg.jclass.chart.ChartDataSupport
addChartDataListener, fireChartDataEvent, fireChartDataEvent, removeChartDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 interpret
ipr - parse used to interpret data
Throws:
IOException - An IOException will be thrown if there's a null String passed as data source

Copyright © 2004 Quest Software Inc..
All rights reserved.