|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.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(String id,
Data data,
boolean replace)
Add data to an existing data object. |
String[] |
getDefaultSuffixes()
Get default suffixes for files/URLs handeled by this form. |
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)
Check to see if the block contains the magic number for this form. |
boolean |
isThisType(String name)
Check to see if the file name might be right for this form. |
static void |
main(String[] args)
run 'java visad.data.vis5d.Vis5DForm QLQ.v5d' to test |
static FlatField |
makeFlatField(Vis5DFile v5dfile,
int time_idx)
|
DataImpl |
open(String id)
Open an existing data object. |
DataImpl |
open(URL url)
Open a data object specified as a URL. |
void |
save(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(String name)
FormFileInformer
isThisType
in interface FormFileInformer
name
- name of the file
public boolean isThisType(byte[] block)
FormFileInformer
isThisType
in interface FormFileInformer
block
- block of bytes from file
public String[] getDefaultSuffixes()
FormFileInformer
getDefaultSuffixes
in interface FormFileInformer
public void save(String id, Data data, boolean replace) throws BadFormException, IOException, RemoteException, VisADException
FormNode
save
in class FormNode
BadFormException
IOException
RemoteException
VisADException
public void add(String id, Data data, boolean replace) throws BadFormException
FormNode
add
in class FormNode
BadFormException
public DataImpl open(String id) throws BadFormException, IOException, VisADException
FormNode
open
in class FormNode
BadFormException
IOException
VisADException
public FlatField getFlatField(Vis5DFile v5dfile, int time_idx) throws VisADException, IOException, BadFormException
VisADException
IOException
BadFormException
public static FlatField makeFlatField(Vis5DFile v5dfile, int time_idx) throws VisADException, IOException, BadFormException
VisADException
IOException
BadFormException
public DataImpl open(URL url) throws BadFormException, VisADException, IOException
FormNode
open
in class FormNode
BadFormException
VisADException
IOException
public FormNode getForms(Data data)
FormNode
getForms
in class FormNode
public static void main(String[] args) throws VisADException, RemoteException, IOException
VisADException
RemoteException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |