|
||||||||||
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.hdf5.HDF5Form
public class HDF5Form
HDF5Form is a data form adapter for HDF5 files.
Field Summary |
---|
Fields inherited from class visad.data.Form |
---|
mathType |
Constructor Summary | |
---|---|
HDF5Form()
|
|
HDF5Form(String name)
|
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. |
DataImpl |
getFileData(HDF5FileAdapted file)
|
FormNode |
getForms(Data data)
Return the data forms that are compatible with a data object. |
MathType |
getMathType(HDF5FileAdapted file)
|
DataImpl |
getVisADDataObject(HDF5DataAdaptable h_data)
|
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. |
DataImpl |
open(String file_path)
Open an existing data object. |
DataImpl |
open(URL url)
Open a data object specified as a URL. |
void |
save(String filename,
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 HDF5Form()
public HDF5Form(String name)
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 FormNode getForms(Data data)
FormNode
getForms
in class FormNode
public DataImpl open(String file_path) throws VisADException, RemoteException
FormNode
open
in class FormNode
VisADException
RemoteException
public DataImpl open(URL url) throws VisADException
FormNode
open
in class FormNode
VisADException
public void add(String id, Data data, boolean replace) throws BadFormException
FormNode
add
in class FormNode
BadFormException
public void save(String filename, Data data, boolean replace) throws BadFormException, RemoteException, VisADException
FormNode
save
in class FormNode
BadFormException
RemoteException
VisADException
public MathType getMathType(HDF5FileAdapted file) throws VisADException, RemoteException
VisADException
RemoteException
public DataImpl getFileData(HDF5FileAdapted file) throws VisADException, RemoteException
VisADException
RemoteException
public DataImpl getVisADDataObject(HDF5DataAdaptable h_data) throws VisADException, RemoteException
VisADException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |