|
||||||||||
| 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.Vis5DTopoForm
public class Vis5DTopoForm
Vis5DTopoForm is the VisAD data format adapter for Vis5D topography files.
| Field Summary |
|---|
| Fields inherited from class visad.data.Form |
|---|
mathType |
| Constructor Summary | |
|---|---|
Vis5DTopoForm()
Create a new Vis5DTopoForm |
|
| Method Summary | |
|---|---|
void |
add(String id,
Data data,
boolean replace)
Add data to an existing data object. |
String[] |
getDefaultSuffixes()
Get default suffixes for Vis5D topography files |
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 |
boolean |
isThisType(String name)
Check to see if the file name might be right for this form. |
DataImpl |
open(InputStream in)
Returns a VisAD data object corresponding to an input stream for a Vis5DTopography file. |
DataImpl |
open(String id)
Returns a VisAD data object corresponding to a Vis5D topography file. |
DataImpl |
open(URL url)
Returns a VisAD data object corresponding to a URL pointing to a Vis5D topography file. |
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 |
| Constructor Detail |
|---|
public Vis5DTopoForm()
| Method Detail |
|---|
public boolean isThisType(String name)
isThisType in interface FormFileInformername - name of the file
public boolean isThisType(byte[] block)
isThisType in interface FormFileInformerblock - block of bytes from file
public String[] getDefaultSuffixes()
getDefaultSuffixes in interface FormFileInformer
public void save(String id,
Data data,
boolean replace)
throws BadFormException,
IOException,
RemoteException,
VisADException
save in class FormNodeid - file iddata - Data object to savereplace - true to replace the existing file
UnimplementedException - not implemented for this form
BadFormException
IOException
RemoteException
VisADException
public void add(String id,
Data data,
boolean replace)
throws BadFormException
add in class FormNodeid - file iddata - Data object to append toreplace - true to replace the existing file
BadFormException - not applicable to this formpublic FormNode getForms(Data data)
getForms in class FormNodedata - Data object in question
public DataImpl open(URL url)
throws BadFormException,
VisADException,
IOException
open in class FormNodeurl - URL pointing to the Vis5D topography
BadFormException - if not a Vis5D topo file.
VisADException - if a problem occurs in core VisAD. Probably a
VisAD object couldn't be created.
IOException - if an I/O failure occurs.
public DataImpl open(String id)
throws BadFormException,
IOException,
VisADException
open in class FormNodeid - path to the existing Vis5D file.
BadFormException - if not a Vis5D topo file.
VisADException - if a problem occurs in core VisAD. Probably a
VisAD object couldn't be created.
IOException - if an I/O failure occurs.
public DataImpl open(InputStream in)
throws BadFormException,
IOException,
VisADException
in - Input stream
BadFormException - if not a Vis5D topo file.
VisADException - if a problem occurs in core VisAD. Probably a
VisAD object couldn't be created.
IOException - if an I/O failure occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||