|
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.ChartDataSupport | +--com.klg.jclass.chart.data.BaseDataSource | +--com.klg.jclass.chart.data.JCInputStreamDataSource | +--com.klg.jclass.chart.data.JCFileDataSource
Loads data from a file.
For details on the acceptable data formats, please refer to
JCDefaultDataInterpreter
and JCXMLDataInterpreter
.
JCDefaultDataInterpreter
,
JCXMLDataInterpreter
,
Serialized FormField 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 | |
JCFileDataSource(File f)
Creates a file data source from the specified File object using
the default Interpreter class. |
|
JCFileDataSource(File f,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Creates a file data source from the specified File object using
the specified Interpreter class. |
|
JCFileDataSource(File f,
com.klg.jclass.chart.data.JCDataInterpreter ipr,
String charsetName)
Creates a file data source based on the given charset from the specified File object using the specified Interpreter class. |
|
JCFileDataSource(String fname)
Creates a file data source from the specified file name using the default interpreter class. |
|
JCFileDataSource(String fname,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Creates a file data source from the specified file name using the specified Interpreter class. |
|
JCFileDataSource(String fname,
com.klg.jclass.chart.data.JCDataInterpreter ipr,
String charsetName)
Creates a file data source using the given charset from the specified file name using 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 |
public JCFileDataSource(String fname) throws FileNotFoundException, IOException
fname
- the name of the file to be used
FileNotFoundException
- A FileNotFoundException
will be thrown if the file cannot be found.
IOException
- A IOException
will be thrown if
a different i/o problem is encountered.public JCFileDataSource(String fname, com.klg.jclass.chart.data.JCDataInterpreter ipr) throws FileNotFoundException, IOException
Interpreter
class.
fname
- the name of the file to be usedipr
- Interpreter class to use to interpret the file
FileNotFoundException
- A FileNotFoundException
will be thrown if the file cannot be found.
IOException
- A IOException
will be thrown if a
different i/o problem is encountered.public JCFileDataSource(String fname, com.klg.jclass.chart.data.JCDataInterpreter ipr, String charsetName) throws FileNotFoundException, IOException
Interpreter
class.
fname
- the name of the file to be usedipr
- Interpreter class to use to interpret the filecharsetName
- The name of a supported charset
FileNotFoundException
- A FileNotFoundException
will be thrown if the file cannot be found.
IOException
- A IOException
will be thrown if a
different i/o problem is encountered.public JCFileDataSource(File f) throws FileNotFoundException, IOException
File
object using
the default Interpreter
class.
f
- a File
object representing the file to be opened
FileNotFoundException
- A FileNotFoundException
will be thrown if the file cannot be found.
IOException
- A IOException
will be thrown if
a different i/o problem is encountered.File
public JCFileDataSource(File f, com.klg.jclass.chart.data.JCDataInterpreter ipr) throws FileNotFoundException, IOException
File
object using
the specified Interpreter
class.
f
- a File
object representing the file to be openedipr
- Interpreter
class to use to interpret the file
FileNotFoundException
- A FileNotFoundException
will be thrown if the file cannot be found.
IOException
- A IOException
will be thrown if
a different i/o problem is encountered.File
public JCFileDataSource(File f, com.klg.jclass.chart.data.JCDataInterpreter ipr, String charsetName) throws FileNotFoundException, IOException
File
object using the specified Interpreter
class.
f
- a File
object representing the file to be openedipr
- Interpreter
class to use to interpret the filecharsetName
- The name of a supported charset
FileNotFoundException
- A FileNotFoundException
will be thrown if the file cannot be found.
IOException
- A IOException
will be thrown if
a different i/o problem is encountered.File
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |