public class Vis5DFamily extends FunctionFormFamily
Data data = new Vis5DFamily("vis5d").open(string);
Vis5DAdaptedForm,
Vis5DTopoFormforms| Constructor and Description |
|---|
Vis5DFamily(java.lang.String name)
Construct a family of the supported map datatype Forms
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addFormToList(FormNode form)
Add to the family of the supported map datatype Forms
|
static void |
main(java.lang.String[] args)
Test the Vis5DFamily class
run java visad.data.vis5d.Vis5DFamily v5dfile1 v5dfile2 ... v5dfilen
|
DataImpl |
open(java.lang.String id)
Open a local data object using the first appropriate map form.
|
DataImpl |
open(java.net.URL url)
Open a remote data object using the first appropriate map form.
|
add, saveaddFormNode, getFormspublic Vis5DFamily(java.lang.String name)
name - name of the familypublic static void addFormToList(FormNode form) throws java.lang.ArrayIndexOutOfBoundsException
form - FormNode to add to the listjava.lang.ArrayIndexOutOfBoundsException - If there is no more room in the list.public DataImpl open(java.lang.String id) throws BadFormException, VisADException
open in class FunctionFormFamilyid - String representing the path of the map fileBadFormException - - no form is appropriateVisADException - - VisAD errorpublic DataImpl open(java.net.URL url) throws BadFormException, VisADException, java.io.IOException
open in class FunctionFormFamilyurl - URL representing the location of the map fileBadFormException - - no form is appropriateVisADException - - VisAD errorjava.io.IOException - - file not foundpublic static void main(java.lang.String[] args)
throws BadFormException,
java.io.IOException,
java.rmi.RemoteException,
VisADException
BadFormExceptionjava.io.IOExceptionjava.rmi.RemoteExceptionVisADException