org.autoplot.datasource.AbstractDataSourceFormat
provides getParam to extensions and the file part.
getBooleanParam
getBooleanParam( String name, boolean deflt ) → boolean
return the boolean parameter. Note setUri must be called with
the input URI.
Parameters
name - the parameter name.
deflt - the default value should the parameter be missing or misformed.
Returns:
the value
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getParam
getParam( String name, String deflt ) → String
return the string parameter. Note setUri must be called with
the input URI.
Parameters
name - the parameter name.
deflt - the default value should the parameter be missing.
Returns:
the value
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getResourceURI
getResourceURI( ) → java.net.URI
return the URI (file part) of the
Returns:
a java.net.URI
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
maybeMkdirs
maybeMkdirs( ) → void
If necessary attempt to create the folder which will contain the file, and
throw an IOException if the folder cannot be created or written to.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
streamData
streamData( java.util.Map params, java.util.Iterator data, java.io.OutputStream out ) → boolean
return true if the format also supports streaming where each record is
formatted (roughly) as it is received, and there is a bound on the total
size needed for any request.
Parameters
params - a java.util.Map
data - a java.util.Iterator
out - an OutputStream
Returns:
a boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]