public class PlantIOFactory extends HdfIOFactory
HdfIOFactory
geared toward
PlantComponent
s.Constructor and Description |
---|
PlantIOFactory()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Class<?>> |
getSupportedClasses()
Sub-classes must override this method.
|
java.lang.String |
getTag(java.lang.Class<?> supportedClass)
Sub-classes must override this method.
|
java.lang.Object |
read(int groupId,
java.lang.String tag)
Sub-classes must override this method.
|
void |
writeObjectData(int groupId,
java.lang.Object object)
Sub-classes must override this method.
|
closeGroup, createGroup, getBuffer, getBuffer, getChildNames, getHdfIORegistry, openGroup, readAttribute, readDataset, readICEObjectInfo, readObjects, readStringAttribute, readTag, setHdfIORegistry, throwException, unsetHdfIORegistry, write, writeAttribute, writeDataset, writeICEObjectInfo, writeObjects, writeStringAttribute, writeTag
public java.util.List<java.lang.Class<?>> getSupportedClasses()
HdfIOFactory
getSupportedClasses
in interface IHdfIOFactory
getSupportedClasses
in class HdfIOFactory
public java.lang.String getTag(java.lang.Class<?> supportedClass)
HdfIOFactory
getTag
in interface IHdfIOFactory
getTag
in class HdfIOFactory
supportedClass
- The supported class.public void writeObjectData(int groupId, java.lang.Object object) throws java.lang.NullPointerException, ncsa.hdf.hdf5lib.exceptions.HDF5Exception, ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
HdfIOFactory
writeObjectData
in class HdfIOFactory
groupId
- The group for the object.object
- The object whose information is being written to the group.java.lang.NullPointerException
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
public java.lang.Object read(int groupId, java.lang.String tag) throws java.lang.NullPointerException, ncsa.hdf.hdf5lib.exceptions.HDF5Exception, ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
HdfIOFactory
read
in interface IHdfIOFactory
read
in class HdfIOFactory
groupId
- The HDF5 file ID for the group containing the object.tag
- The tag Attribute for the group. This specifies the type of
object to be read from the file.java.lang.NullPointerException
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException