<h2>org.autoplot.datasource.jython.JythonExtensionDataSourceFactory</h2><p>Creates JythonExceptionDataSource's, which are data sources defined by Jython scripts, but the script need not be in the URI.</p> <h2>JythonExtensionDataSourceFactory( )</h2> <p></p> <hr> <a name="getDataSource"></a> <h2>getDataSource</h2> getDataSource( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/datasource/DataSource.html'>org.autoplot.datasource.DataSource</a> <p></p> <h3>Parameters</h3> uri - an URI <h3>Returns:</h3> org.autoplot.datasource.DataSource <br><br> <a href="https://github.com/autoplot/dev/search?q=getDataSource&unscoped_q=getDataSource">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.html#getDataSource">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.java#l154">[view source]</a> <br> <br> <hr> <a name="getInternalScriptForResource"></a> <h2>getInternalScriptForResource</h2> getInternalScriptForResource( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>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.</p> <h3>Parameters</h3> uri - the Autoplot URI. <h3>Returns:</h3> null or the name of the file to use. <br><br> <a href="https://github.com/autoplot/dev/search?q=getInternalScriptForResource&unscoped_q=getInternalScriptForResource">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.html#getInternalScriptForResource">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.java#l97">[view source]</a> <br> <br> <hr> <a name="getJydsUri"></a> <h2>getJydsUri</h2> getJydsUri( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>return the URI which would be used for this resource, if it were called directly.</p> <h3>Parameters</h3> uri - an URI <h3>Returns:</h3> a String <br><br> <a href="https://github.com/autoplot/dev/search?q=getJydsUri&unscoped_q=getJydsUri">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.html#getJydsUri">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.java#l134">[view source]</a> <br> <br> <hr> <a name="getScriptForResource"></a> <h2>getScriptForResource</h2> getScriptForResource( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>this is the lookup table from URI (*.sps) to script (readTypeSps.jyds)</p> <h3>Parameters</h3> uri - the Autoplot URI. <h3>Returns:</h3> string containing the script. <br><br> <a href="https://github.com/autoplot/dev/search?q=getScriptForResource&unscoped_q=getScriptForResource">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.html#getScriptForResource">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/jython/JythonExtensionDataSourceFactory.java#l36">[view source]</a> <br> <br>