|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.FormNode
visad.data.Form
visad.data.vis5d.Vis5DForm
public class Vis5DForm
Vis5DForm is the VisAD data format adapter for Vis5D files.
Field Summary | |
---|---|
static int |
HEIGHT
|
static int |
WIDTH
the width and height of the UI frame |
Fields inherited from class visad.data.Form |
---|
mathType |
Constructor Summary | |
---|---|
Vis5DForm()
|
Method Summary | |
---|---|
void |
add(java.lang.String id,
Data data,
boolean replace)
Add data to an existing data object. |
java.lang.String[] |
getDefaultSuffixes()
|
FlatField |
getFlatField(Vis5DFile v5dfile,
int time_idx)
|
FormNode |
getForms(Data data)
Return the data forms that are compatible with a data object. |
boolean |
isThisType(byte[] block)
|
boolean |
isThisType(java.lang.String name)
|
static void |
main(java.lang.String[] args)
run 'java visad.data.vis5d.Vis5DForm QLQ.v5d' to test |
static FlatField |
makeFlatField(Vis5DFile v5dfile,
int time_idx)
|
DataImpl |
open(java.lang.String id)
Open an existing data object. |
DataImpl |
open(java.net.URL url)
Open a data object specified as a URL. |
void |
save(java.lang.String id,
Data data,
boolean replace)
Save a VisAD data object in this form. |
Methods inherited from class visad.data.Form |
---|
getMathType |
Methods inherited from class visad.data.FormNode |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int WIDTH
public static int HEIGHT
Constructor Detail |
---|
public Vis5DForm()
Method Detail |
---|
public boolean isThisType(java.lang.String name)
isThisType
in interface FormFileInformer
public boolean isThisType(byte[] block)
isThisType
in interface FormFileInformer
public java.lang.String[] getDefaultSuffixes()
getDefaultSuffixes
in interface FormFileInformer
public void save(java.lang.String id, Data data, boolean replace) throws BadFormException, java.io.IOException, java.rmi.RemoteException, VisADException
FormNode
save
in class FormNode
BadFormException
java.io.IOException
java.rmi.RemoteException
VisADException
public void add(java.lang.String id, Data data, boolean replace) throws BadFormException
FormNode
add
in class FormNode
BadFormException
public DataImpl open(java.lang.String id) throws BadFormException, java.io.IOException, VisADException
FormNode
open
in class FormNode
BadFormException
java.io.IOException
VisADException
public FlatField getFlatField(Vis5DFile v5dfile, int time_idx) throws VisADException, java.io.IOException, BadFormException
VisADException
java.io.IOException
BadFormException
public static FlatField makeFlatField(Vis5DFile v5dfile, int time_idx) throws VisADException, java.io.IOException, BadFormException
VisADException
java.io.IOException
BadFormException
public DataImpl open(java.net.URL url) throws BadFormException, VisADException, java.io.IOException
FormNode
open
in class FormNode
BadFormException
VisADException
java.io.IOException
public FormNode getForms(Data data)
FormNode
getForms
in class FormNode
public static void main(java.lang.String[] args) throws VisADException, java.rmi.RemoteException, java.io.IOException
VisADException
java.rmi.RemoteException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |