|
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.JCURLDataSource
This class takes a URL and turns it into a JClass Chart data source.
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 | |
JCURLDataSource(String url)
Pulls data from specified URL according to the specified data interpreter. |
|
JCURLDataSource(String url,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Pulls data from specified URL according to the specified data interpreter. |
|
JCURLDataSource(String url,
com.klg.jclass.chart.data.JCDataInterpreter ipr,
String charsetName)
Pulls data from specified URL using the given charset according to the specified data interpreter. |
|
JCURLDataSource(String host,
String file)
Pulls data from specified URL according to the default data interpreter. |
|
JCURLDataSource(String host,
String file,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Pulls data from specified URL according to the specified data interpreter. |
|
JCURLDataSource(String host,
String file,
com.klg.jclass.chart.data.JCDataInterpreter ipr,
String charsetName)
Pulls data from specified URL using the given charset according to the specified data interpreter. |
|
JCURLDataSource(String protocol,
String host,
String file)
Pulls data from specified URL according to the default data interpreter. |
|
JCURLDataSource(String protocol,
String host,
String file,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Pulls data from specified URL according to the specified data interpreter. |
|
JCURLDataSource(String protocol,
String host,
String file,
com.klg.jclass.chart.data.JCDataInterpreter ipr,
String charsetName)
Pulls data from specified URL using the given charset according to the specified data interpreter. |
|
JCURLDataSource(URL base,
String file)
Pulls data from specified URL according to the default data interpreter. |
|
JCURLDataSource(URL base,
String file,
com.klg.jclass.chart.data.JCDataInterpreter ipr)
Pulls data from specified URL according to the specified data interpreter. |
|
JCURLDataSource(URL base,
String file,
com.klg.jclass.chart.data.JCDataInterpreter ipr,
String charsetName)
Pulls data from specified URL using the given charset according to the specified data 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 |
public JCURLDataSource(String url) throws MalformedURLException, IOException
url
- a String representing the location of the data file
(for example, http://www.quest.com/data.file)
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String url, com.klg.jclass.chart.data.JCDataInterpreter ipr) throws MalformedURLException, IOException
url
- a String representing the location of the data file
(for example, http://www.quest.com/data.file)ipr
- Interpreter
class used to interpret the data
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String url, com.klg.jclass.chart.data.JCDataInterpreter ipr, String charsetName) throws MalformedURLException, IOException
url
- a String representing the location of the data file
(for example, http://www.quest.com/data.file)ipr
- Interpreter
class used to interpret the datacharsetName
- The name of a supported charset
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String host, String file) throws MalformedURLException, IOException
host
- the WWW hostnamefile
- the fully-qualified name of the file on the server
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String host, String file, com.klg.jclass.chart.data.JCDataInterpreter ipr) throws MalformedURLException, IOException
host
- the WWW hostnamefile
- the fully-qualified name of the file on the serveripr
- Interpreter
class used to interpret the data
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String host, String file, com.klg.jclass.chart.data.JCDataInterpreter ipr, String charsetName) throws MalformedURLException, IOException
host
- the WWW hostnamefile
- the fully-qualified name of the file on the serveripr
- Interpreter
class used to interpret the datacharsetName
- The name of a supported charset
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String protocol, String host, String file) throws MalformedURLException, IOException
protocol
- The protocol to use to access the file. Currently only
http is supported.host
- the WWW hostnamefile
- the fully-qualified name of the file on the server
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String protocol, String host, String file, com.klg.jclass.chart.data.JCDataInterpreter ipr) throws MalformedURLException, IOException
protocol
- the protocol to use to access the file (currently only
http is supported)host
- the WWW hostnamefile
- the fully-qualified name of the file on the serveripr
- Interpreter
class used to interpret the data
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(String protocol, String host, String file, com.klg.jclass.chart.data.JCDataInterpreter ipr, String charsetName) throws MalformedURLException, IOException
protocol
- the protocol to use to access the file (currently only
http is supported)host
- the WWW hostnamefile
- the fully-qualified name of the file on the serveripr
- Interpreter
class used to interpret the datacharsetName
- The name of a supported charset
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.public JCURLDataSource(URL base, String file) throws MalformedURLException, IOException
base
- a URL object representing the directory in which to find
the filefile
- the name of the file on the server
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.URL
public JCURLDataSource(URL base, String file, com.klg.jclass.chart.data.JCDataInterpreter ipr) throws MalformedURLException, IOException
base
- a URL object representing the directory in which to find
the filefile
- the name of the file on the serveripr
- Interpreter
class used to interpret the data
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.URL
public JCURLDataSource(URL base, String file, com.klg.jclass.chart.data.JCDataInterpreter ipr, String charsetName) throws MalformedURLException, IOException
base
- a URL object representing the directory in which to find
the filefile
- the name of the file on the serveripr
- Interpreter
class used to interpret the datacharsetName
- The name of a supported charset
MalformedURLException
- A MalformedURLException
is
thrown if the specified URL is not in a valid format.
IOException
- An IOException
is thrown if there is some
problem reading the file.URL
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |