public class InlineDataSource extends AbstractDataSource
params, resourceURI, uri
Constructor and Description |
---|
InlineDataSource(java.net.URI uri) |
Modifier and Type | Method and Description |
---|---|
QDataSet |
getDataSet(ProgressMonitor mon)
retrieve the dataset.
|
protected static java.lang.String[] |
guardedSplit(java.lang.String s,
char delim,
char exclude1,
char exclude2)
only split on the delimiter when we are not within the exclude delimiters.
|
addCability, addCapability, asynchronousLoad, doWhereFilter, getCapability, getExt, getExt, getFile, getFile, getFile, getHtmlFile, getInputStream, getMetadata, getMetadataModel, getParam, getParams, getProperties, getURI, toString
protected static java.lang.String[] guardedSplit(java.lang.String s, char delim, char exclude1, char exclude2)
x=getDataSet("http://autoplot.org/data/autoplot.cdf?Magnitude&noDep=T")&y=getDataSet('http://autoplot.org/data/autoplot.cdf?BGSEc&slice1=2')&sqrt(x)
s
- the string to split.delim
- the delimiter to split on, for example the ampersand (&).exclude1
- for example the single quote (')exclude2
- for example the double quote (") Note URIs don't support these anyway.public QDataSet getDataSet(ProgressMonitor mon) throws java.lang.Exception
DataSource
getDataSet
in interface DataSource
getDataSet
in class AbstractDataSource
java.lang.Exception