All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.URLDataSource

java.lang.Object
   |
   +----jclass.chart.InputStreamDataSource
           |
           +----jclass.chart.URLDataSource

public class URLDataSource
extends InputStreamDataSource

Constructor Index

 o URLDataSource(String)
 o URLDataSource(String, String)
 o URLDataSource(String, String, String)
 o URLDataSource(URL, String)

Constructors

 o URLDataSource
 public URLDataSource(String url) throws MalformedURLException, IOException
Parameters:
url - A String representing the location of the data file. eg. http://www.klg.com/data.file
Throws: MalformedURLException
If the specified URL is not in a valid format
Throws: IOException
If there is some problem reading the file
 o URLDataSource
 public URLDataSource(String host,
                      String file) throws MalformedURLException, IOException
Parameters:
host - The WWW hostname
file - the fully-qualified name of the file on the server
Throws: MalformedURLException
If the specified URL is not in a valid format
Throws: IOException
If there is some problem reading the file
 o URLDataSource
 public URLDataSource(String protocol,
                      String host,
                      String file) throws MalformedURLException, IOException
Parameters:
protocol - The protocol to use to access the file. Currently only http is supported.
host - The WWW hostname
file - the fully-qualified name of the file on the server
Throws: MalformedURLException
If the specified URL is not in a valid format
Throws: IOException
If there is some problem reading the file
 o URLDataSource
 public URLDataSource(URL base,
                      String file) throws MalformedURLException, IOException
Parameters:
base - A URL object representing the directory in which to find the file
file - the name of the file on the server
Throws: MalformedURLException
If the specified URL is not in a valid format
Throws: IOException
If there is some problem reading the file
See Also:
URL

All Packages  Class Hierarchy  This Package  Previous  Next  Index