visad.data.hdf5
Class HDF5FileAdapted
- java.lang.Object
-
- visad.data.hdf5.hdf5objects.HDF5Object
-
- visad.data.hdf5.hdf5objects.HDF5File
-
- visad.data.hdf5.HDF5FileAdapted
-
- All Implemented Interfaces:
- java.io.Serializable
public class HDF5FileAdapted extends HDF5File
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description HDF5FileAdapted(java.lang.String filename, int flags, int access_id)Opens an existing HDF5 file.HDF5FileAdapted(java.lang.String filename, int flags, int create_id, int access_id)Creates a new HDF5 file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.ObjectgetDataObject(int index)Returns the data object with specified indexintgetObjectCount()Returns the number of the data objects in the filevoidinit()initialize the HDF5FileAdapted: load the table of content of for the top level objects.-
Methods inherited from class visad.data.hdf5.hdf5objects.HDF5Object
getDescription, getID, getName, getShortName, getType, setID, setShortName, setType, toString
-
-
-
-
Constructor Detail
-
HDF5FileAdapted
public HDF5FileAdapted(java.lang.String filename, int flags, int create_id, int access_id) throws ncsa.hdf.hdf5lib.exceptions.HDF5ExceptionCreates a new HDF5 file.- Parameters:
filename- The name of the HDF5 file.flags- File access flags.create_id- File creation property list identifier.access_id- File access property list identifier.- Throws:
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
-
HDF5FileAdapted
public HDF5FileAdapted(java.lang.String filename, int flags, int access_id) throws ncsa.hdf.hdf5lib.exceptions.HDF5ExceptionOpens an existing HDF5 file.- Parameters:
filename- The name of the HDF5 file.flags- File access flags.access_id- File access property list identifier.- Throws:
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
-
-
Method Detail
-
init
public void init() throws ncsa.hdf.hdf5lib.exceptions.HDF5Exceptioninitialize the HDF5FileAdapted: load the table of content of for the top level objects.- Overrides:
initin classHDF5Object- Throws:
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
-
getObjectCount
public int getObjectCount()
Returns the number of the data objects in the file
-
getDataObject
public java.lang.Object getDataObject(int index)
Returns the data object with specified index
-
-
DMelt 3.0 © DataMelt by jWork.ORG