public interface IHdfWriteable
An interface that provides the required operations for populating an HDF5 file from an ICE data structure.
Modifier and Type | Method and Description |
---|---|
ncsa.hdf.object.h5.H5Group |
createGroup(ncsa.hdf.object.h5.H5File h5File,
ncsa.hdf.object.h5.H5Group parentH5Group)
This operation creates and returns a child H5Group for the parentH5Group
in the h5File.
|
java.util.ArrayList<IHdfWriteable> |
getWriteableChildren()
This operation returns an ArrayList of IHdfWriteable child objects.
|
boolean |
writeAttributes(ncsa.hdf.object.h5.H5File h5File,
ncsa.hdf.object.h5.H5Group h5Group)
This operation writes HDF5 Attributes to the metadata of h5Group in the
h5File.
|
boolean |
writeDatasets(ncsa.hdf.object.h5.H5File h5File,
ncsa.hdf.object.h5.H5Group h5Group)
This operation writes HDF5 Datasets to the h5Group in the h5File.
|
ncsa.hdf.object.h5.H5Group createGroup(ncsa.hdf.object.h5.H5File h5File, ncsa.hdf.object.h5.H5Group parentH5Group)
This operation creates and returns a child H5Group for the parentH5Group in the h5File. If h5File is null or can not be opened, then null is returned. If parentH5Group is null, then null is returned. If an exception is thrown, then null is returned.
h5File
- The H5File.
parentH5Group
- The parent H5Group.
The new H5Group.
java.util.ArrayList<IHdfWriteable> getWriteableChildren()
This operation returns an ArrayList of IHdfWriteable child objects. If this IHdfWriteable has no IHdfWriteable child objects, then null is returned.
An ArrayList of IHdfWriteable child objects.
boolean writeAttributes(ncsa.hdf.object.h5.H5File h5File, ncsa.hdf.object.h5.H5Group h5Group)
This operation writes HDF5 Attributes to the metadata of h5Group in the h5File. If the h5Group is null or h5File is null or can not be opened, then false is returned. If the operation fails to write all Attributes, then false is returned. Otherwise, true is returned.
h5File
- The H5File.
h5Group
- The H5Group to write Attributes to.
If the h5Group is null or h5File is null or can not be opened, then false is returned. If the operation fails to write all Attributes, then false is returned. Otherwise, true is returned.
boolean writeDatasets(ncsa.hdf.object.h5.H5File h5File, ncsa.hdf.object.h5.H5Group h5Group)
This operation writes HDF5 Datasets to the h5Group in the h5File. If the h5Group is null or h5File is null or can not be opened, then false is returned. If the operation fails to write all Datasets, then false is returned. Otherwise, true is returned.
h5File
- The H5File.
h5Group
- The H5Group to write Datasets to.
If the h5Group is null or h5File is null or can not be opened, then false is returned. If the operation fails to write all Datasets, then false is returned. Otherwise, true is returned.