|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart.data.JCDataInterpreter
The base interpreter class for any data source that relies on input from some reader. Subclasses that are implemented will interpret for specific data formats.
Field Summary | |
protected com.klg.jclass.chart.data.BaseDataSource |
baseDS
|
Constructor Summary | |
JCDataInterpreter()
Default no-argument constructor. |
|
JCDataInterpreter(com.klg.jclass.chart.data.BaseDataSource bds)
This constructor creates an instance of a data interpreter and associates it with a data source. |
Method Summary | |
protected abstract void |
ctor(Reader r)
Abstract method to be overridden by specific interpreter implementations. |
void |
setBaseDataSource(com.klg.jclass.chart.data.BaseDataSource bds)
This interpreter should be associated with a data source that will eventually be populated with interpreted data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.chart.data.BaseDataSource baseDS
Constructor Detail |
public JCDataInterpreter(com.klg.jclass.chart.data.BaseDataSource bds)
bds
- the data source to eventually be populated with the interpreted
datapublic JCDataInterpreter()
Method Detail |
public void setBaseDataSource(com.klg.jclass.chart.data.BaseDataSource bds)
bds
- the data source to eventually be populated with the interpreted
dataprotected abstract void ctor(Reader r) throws IOException
Parses the specified input stream and populates the previously set
data source. Called by the other ctor()
method, and is also used
for String input where you can't have an input stream.
r
- the Reader object used to read data
IOException
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |