org.autoplot.datasource.jython.JythonExtensionDataSourceFactory

Creates JythonExceptionDataSource's, which are data sources defined by Jython scripts, but the script need not be in the URI.

JythonExtensionDataSourceFactory( )


getDataSource

getDataSource( java.net.URI uri ) → org.autoplot.datasource.DataSource

Parameters

uri - an URI

Returns:

org.autoplot.datasource.DataSource

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getInternalScriptForResource

getInternalScriptForResource( java.net.URI uri ) → String

include an internal version of the script, so that the data source will work offline, for example when presenting the data source to a group of new users at a conference without network access.

Parameters

uri - the Autoplot URI.

Returns:

null or the name of the file to use.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getJydsUri

getJydsUri( java.net.URI uri ) → String

return the URI which would be used for this resource, if it were called directly.

Parameters

uri - an URI

Returns:

a String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getScriptForResource

getScriptForResource( java.net.URI uri ) → String

this is the lookup table from URI (*.sps) to script (readTypeSps.jyds)

Parameters

uri - the Autoplot URI.

Returns:

string containing the script.

[search for examples] [view on GitHub] [view on old javadoc] [view source]