org.autoplot.state.EmbedDataExperiment

Embed data and vap in a zip file. Now that we have PWD, this will be straight-forward.

EmbedDataExperiment( )


isLocal

isLocal( java.net.URI uri ) → boolean

return true if the URI is only resolved on the local machine.

Parameters

uri - the uri

Returns:

true if the URI is only resolved on the local machine.

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


save

save( org.autoplot.dom.Application dom3, java.io.File f ) → void

save the application, but embed data file resources within the zip, along with the .vap. The vap is saved with the name default.vap. When the data source contains a dataset that was created internally (with the Jython plot command, for example), it will be formatted as a QStream and embedded within the vap.

Parameters

dom3 - the state to save.
f - the zip file output name.

Returns:

void (returns nothing)

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

save( org.autoplot.dom.Application dom3, java.io.File f, boolean onlyLocal ) → void