| java.lang.Object org.openlaszlo.iv.flash.util.DataSource org.openlaszlo.iv.flash.util.UrlDataSource
UrlDataSource | public class UrlDataSource extends DataSource (Code) | | Text datasource.
This class reads and creates text datasource from:
- a string
- an url
- list of url, seperated by semicolon
author: Dmitry Skavish See Also: XMLDataSource |
Method Summary | |
public String[][] | getData() Returns the datasource as two dimensional array of strings. |
UrlDataSource | public UrlDataSource()(Code) | | |
UrlDataSource | public UrlDataSource(String surl, FlashFile flashFile) throws IVException, IOException(Code) | | Creates datasource from specified string in the context of FlashFile.
Parameters: surl - string representing the datasource can be one of the following:
- data itself if prefixed with '#'
- url pointing to text datasource
- several urls to text datasources, separated by semicolon
Parameters: flashFile - flash file in the context of which this datasource is created if datasource is given by relative url, then this flash file can be usedto resolve this relative url to an absolute one exception: IVException - thrown if there are some problems with parsing the datasource exception: IOException - thrown if there are some problems with reading the datasource |
getData | public String[][] getData() throws IOException(Code) | | Returns the datasource as two dimensional array of strings.
datasource parsed to array of strings exception: IOException - throws if there are some problems with reading the datasource |
|
|