public class HDF5Form extends Form implements FormFileInformer
| Modifier and Type | Method and Description |
|---|---|
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.
|
getMathTypepublic HDF5Form()
public HDF5Form(String name)
public boolean isThisType(String name)
FormFileInformerisThisType in interface FormFileInformername - name of the filepublic boolean isThisType(byte[] block)
FormFileInformerisThisType in interface FormFileInformerblock - block of bytes from filepublic String[] getDefaultSuffixes()
FormFileInformergetDefaultSuffixes in interface FormFileInformerpublic FormNode getForms(Data data)
FormNodepublic DataImpl open(String file_path) throws VisADException, RemoteException
FormNodeopen in class FormNodeVisADExceptionRemoteExceptionpublic DataImpl open(URL url) throws VisADException
FormNodeopen in class FormNodeVisADExceptionpublic void add(String id, Data data, boolean replace) throws BadFormException
FormNodeadd in class FormNodeBadFormExceptionpublic void save(String filename, Data data, boolean replace) throws BadFormException, RemoteException, VisADException
FormNodesave in class FormNodeBadFormExceptionRemoteExceptionVisADExceptionpublic MathType getMathType(HDF5FileAdapted file) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DataImpl getFileData(HDF5FileAdapted file) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DataImpl getVisADDataObject(HDF5DataAdaptable h_data) throws VisADException, RemoteException
VisADExceptionRemoteExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.