JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.data
Class JCReaderDataSource

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.JCReaderDataSource
All Implemented Interfaces:
ChartDataManageable, ChartDataManager, ChartDataModel, HoleValueChartDataModel, com.klg.jclass.chart.ImageMapChartDataModel, LabelledChartDataModel, Serializable

public class JCReaderDataSource
extends JCInputStreamDataSource

This class is the base for any data source that relies on input from a reader. Data is interpreted according by a interpreter classes that subclasses from JCDataInterpreter.

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
protected JCReaderDataSource()
          This constructor sets up a JCReaderDataSource class to use the default interpreter.
protected JCReaderDataSource(com.klg.jclass.chart.data.JCDataInterpreter p)
          This constructor sets up a JCReaderDataSource class to use the specified interpreter.
  JCReaderDataSource(Reader r)
          This constructor takes the Reader, reads in all the appropriate data and interprets it according to the default interpreter class.
  JCReaderDataSource(Reader r, com.klg.jclass.chart.data.JCDataInterpreter p)
          This constructor takes the Reader, reads in all the appropriate data, and interprets it according to the specified interpreter class.
 
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

JCReaderDataSource

public JCReaderDataSource(Reader r)
                   throws IOException
This constructor takes the Reader, reads in all the appropriate data and interprets it according to the default interpreter class.

Parameters:
r - Reader object used to read the data
Throws:
IOException - An IOException will be thrown if there are any errors while reading in the data.

JCReaderDataSource

public JCReaderDataSource(Reader r,
                          com.klg.jclass.chart.data.JCDataInterpreter p)
                   throws IOException
This constructor takes the Reader, reads in all the appropriate data, and interprets it according to the specified interpreter class.

Parameters:
r - Reader object used to read the data
p - Interpreter used to make sense of the data
Throws:
IOException - An IOException will be thrown if there are any errors while reading in the data.

JCReaderDataSource

protected JCReaderDataSource()
                      throws IOException
This constructor sets up a JCReaderDataSource class to use the default interpreter. It does not yet read or interpret any data.

Throws:
IOException - An IOException will be thrown if there are any errors while reading in the data.

JCReaderDataSource

protected JCReaderDataSource(com.klg.jclass.chart.data.JCDataInterpreter p)
                      throws IOException
This constructor sets up a JCReaderDataSource class to use the specified interpreter. It does not yet read or interpret any data.

Parameters:
p - the data interpreter to be used
Throws:
IOException - An IOException will be thrown if there are any errors while reading in the data.

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