Uses of Class
ncsa.hdf.object.HObject

Packages that use HObject
ncsa.hdf.object   
ncsa.hdf.object.fits   
ncsa.hdf.object.h4   
ncsa.hdf.object.h5   
ncsa.hdf.object.nc2   
ncsa.hdf.view   
org.dawb.hdf5   
org.dawb.hdf5.nexus   
 

Uses of HObject in ncsa.hdf.object
 

Subclasses of HObject in ncsa.hdf.object
 class CompoundDS
          A CompoundDS is a dataset with compound datatype.
 class Dataset
          The abstract class provides general APIs to create and manipulate dataset objects, and retrieve dataset properties datatype and dimension sizes.
 class Datatype
          Datatype is an abstract class that defines datatype characteristics and APIs for a data type.
 class Group
          Group is an abstract class.
 class ScalarDS
          A scalar dataset is a multiple dimension array of scalar points.
 

Methods in ncsa.hdf.object that return HObject
 HObject FileFormat.createLink(Group parentGroup, java.lang.String name, HObject currentObj, int type)
          Creates a soft, hard or external link to an existing object in the open file.
 HObject FileFormat.createLink(Group linkGroup, java.lang.String name, java.lang.Object currentObj)
          Creates a link to an existing object in the open file.
 HObject FileFormat.createLink(Group parentGroup, java.lang.String name, java.lang.String currentObj, int type)
          Creates a soft or external links to objects in a file that do not exist at the time the link is created.
static HObject FileFormat.findObject(FileFormat file, long[] oid)
          Finds an object by its object ID
static HObject FileFormat.findObject(FileFormat file, java.lang.String path)
          Finds an object by the full path of the object (path+name)
abstract  HObject FileFormat.get(java.lang.String path)
          Gets the HObject with the specified path from the file.
static HObject FileFormat.getHObject(java.lang.String fullPath)
          Deprecated. As of 2.4, replaced by FileFormat.get(String)

This static method, which as been deprecated, causes two problems:

  • It can be very expensive if it is called many times or in a loop because each call to the method creates an instance of a file.
  • Since the method does not return the instance of the file, the file cannot be closed directly and may be left open (memory leak). The only way to close the file is through the object returned by this method.
static HObject FileFormat.getHObject(java.lang.String filename, java.lang.String path)
          Deprecated. As of 2.4, replaced by FileFormat.get(String)

This static method, which as been deprecated, causes two problems:

  • It can be very expensive if it is called many times or in a loop because each call to the method creates an instance of a file.
  • Since the method does not return the instance of the file, the file cannot be closed directly and may be left open (memory leak). The only way to close the file is through the object returned by this method, for example:
     Dataset dset = H5File.getObject("hdf5_test.h5", "/images/iceburg");
     ...
     // close the file through dset
     dset.getFileFormat().close();
     
 

Methods in ncsa.hdf.object that return types with arguments of type HObject
 java.util.List<HObject> Group.getMemberList()
          Returns the list of members of this group.
 

Methods in ncsa.hdf.object with parameters of type HObject
 void Group.addToMemberList(HObject object)
          Adds an object to the member list of this group in memory.
 javax.swing.tree.TreeNode FileFormat.copy(HObject srcObj, Group dstGroup)
          Deprecated. As of 2.4, replaced by FileFormat.copy(HObject, Group, String)

To mimic the behavior originally provided by this method, call the replacement method with null as the 3rd parameter.

abstract  javax.swing.tree.TreeNode FileFormat.copy(HObject srcObj, Group dstGroup, java.lang.String dstName)
          Copies the source object to a new destination.
 HObject FileFormat.createLink(Group parentGroup, java.lang.String name, HObject currentObj, int type)
          Creates a soft, hard or external link to an existing object in the open file.
abstract  void FileFormat.delete(HObject obj)
          Deletes an object from a file.
 void Group.removeFromMemberList(HObject object)
          Removes an object from the member list of this group in memory.
 void FileFormat.renameAttribute(HObject obj, java.lang.String oldAttrName, java.lang.String newAttrName)
          Renames an attribute.
abstract  void FileFormat.writeAttribute(HObject obj, Attribute attr, boolean attrExisted)
          Attaches a given attribute to an object.
 

Uses of HObject in ncsa.hdf.object.fits
 

Subclasses of HObject in ncsa.hdf.object.fits
 class FitsDataset
          FitsDataset describes an multi-dimension array of HDF5 scalar or atomic data types, such as byte, int, short, long, float, double and string, and operations performed on the scalar dataset
 class FitsDatatype
          Datatype encapsulates information of a datatype.
 class FitsGroup
          An H5Group represents HDF5 group, inheriting from Group.
 

Methods in ncsa.hdf.object.fits that return HObject
 HObject FitsFile.get(java.lang.String path)
           
 

Methods in ncsa.hdf.object.fits with parameters of type HObject
 javax.swing.tree.TreeNode FitsFile.copy(HObject srcObj, Group dstGroup, java.lang.String dstName)
           
 void FitsFile.copyAttributes(HObject src, HObject dst)
          Copy attributes of the source object to the destination object.
 void FitsFile.delete(HObject obj)
           
 void FitsFile.writeAttribute(HObject obj, Attribute attr, boolean attrExisted)
          Creates a new attribute and attached to the object if attribute does not exist.
 

Uses of HObject in ncsa.hdf.object.h4
 

Subclasses of HObject in ncsa.hdf.object.h4
 class H4Datatype
          This class defines HDF4 data type characteristics and APIs for a data type.
 class H4GRImage
          H4GRImage describes HDF4 general raster(GR) image and operations performed on the GR image.
 class H4Group
          An H4Group is a vgroup in HDF4, inheriting from Group.
 class H4SDS
          H4SDS describes HDF4 Scientific Data Sets (SDS) and operations performed on the SDS.
 class H4Vdata
          H4Vdata describes a multi-dimension array of HDF4 vdata, inheriting CompoundDS.
 

Methods in ncsa.hdf.object.h4 that return HObject
 HObject H4File.get(java.lang.String path)
          Get an individual HObject with a given path.
 

Methods in ncsa.hdf.object.h4 with parameters of type HObject
 javax.swing.tree.TreeNode H4File.copy(HObject srcObj, Group dstGroup, java.lang.String dstName)
          Copy an object to a group.
 void H4File.delete(HObject obj)
          Delete an object from the file.
 void H4File.writeAttribute(HObject obj, Attribute attr, boolean isSDglobalAttr)
          Creates a new attribute and attached to the object if attribute does not exist.
 

Uses of HObject in ncsa.hdf.object.h5
 

Subclasses of HObject in ncsa.hdf.object.h5
 class H5CompoundDS
          The H5CompoundDS class defines an HDF5 dataset of compound datatypes.
 class H5Datatype
          This class defines HDF5 data type characteristics and APIs for a data type.
 class H5Group
          An H5Group object represents an existing HDF5 group in file.
 class H5Link
          An H5Link object represents an existing HDF5 object in file.
 class H5ScalarDS
          H5ScalarDS describes a multi-dimension array of HDF5 scalar or atomic data types, such as byte, int, short, long, float, double and string, and operations performed on the scalar dataset.
 

Methods in ncsa.hdf.object.h5 that return HObject
 HObject H5File.createLink(Group parentGroup, java.lang.String name, HObject currentObj, int lType)
          Creates a link to an object in the open file.
 HObject H5File.createLink(Group parentGroup, java.lang.String name, java.lang.Object currentObj)
           
 HObject H5File.createLink(Group parentGroup, java.lang.String name, java.lang.String currentObj, int lType)
          Creates a soft or external links to objects in a file that do not exist at the time the link is created.
 HObject H5File.get(java.lang.String path)
           
 

Methods in ncsa.hdf.object.h5 with parameters of type HObject
 javax.swing.tree.TreeNode H5File.copy(HObject srcObj, Group dstGroup, java.lang.String dstName)
           
static void H5File.copyAttributes(HObject src, HObject dst)
          Copies the attributes of one object to another object.
 HObject H5File.createLink(Group parentGroup, java.lang.String name, HObject currentObj, int lType)
          Creates a link to an object in the open file.
 void H5File.delete(HObject obj)
           
static java.lang.String H5File.getLinkTargetName(HObject obj)
          Retrieves the name of the target object that is being linked to.
 void H5File.renameAttribute(HObject obj, java.lang.String oldAttrName, java.lang.String newAttrName)
          Renames an attribute.
 void H5File.writeAttribute(HObject obj, Attribute attr, boolean attrExisted)
           
 

Uses of HObject in ncsa.hdf.object.nc2
 

Subclasses of HObject in ncsa.hdf.object.nc2
 class NC2Dataset
          NC2Dataset describes an multi-dimension array of HDF5 scalar or atomic data types, such as byte, int, short, long, float, double and string, and operations performed on the scalar dataset
 class NC2Datatype
          Datatype encapsulates information of a datatype.
 class NC2Group
          An H5Group represents HDF5 group, inheriting from Group.
 

Methods in ncsa.hdf.object.nc2 that return HObject
 HObject NC2File.get(java.lang.String path)
           
 

Methods in ncsa.hdf.object.nc2 with parameters of type HObject
 javax.swing.tree.TreeNode NC2File.copy(HObject srcObj, Group dstGroup, java.lang.String dstName)
           
 void NC2File.copyAttributes(HObject src, HObject dst)
          Copy attributes of the source object to the destination object.
 void NC2File.delete(HObject obj)
           
 void NC2File.writeAttribute(HObject obj, Attribute attr, boolean attrExisted)
          Creates a new attribute and attached to the object if attribute does not exist.
 

Uses of HObject in ncsa.hdf.view
 

Methods in ncsa.hdf.view that return HObject
 HObject TreeView.getCurrentObject()
           
 HObject DefaultTreeView.getCurrentObject()
           
 HObject DefaultImageView.getDataObject()
           
 HObject DefaultPaletteView.getDataObject()
          returns the data object displayed in this data viewer
 HObject DataView.getDataObject()
          returns the data object displayed in this data viewer
 HObject DefaultTextView.getDataObject()
           
 HObject DefaultTableView.getDataObject()
           
 HObject DefaultMetaDataView.getDataObject()
          returns the data object displayed in this data viewer
 

Methods in ncsa.hdf.view with parameters of type HObject
 Attribute MetaDataView.addAttribute(HObject obj)
          add an attribute to a data object.
 Attribute DefaultMetaDataView.addAttribute(HObject obj)
          add an attribute to a data object.
 void TreeView.addObject(HObject newObject, Group parentGroup)
          Adds a new data object to the file.
 void DefaultTreeView.addObject(HObject newObject, Group parentGroup)
          Adds a new data object to the file.
 Attribute MetaDataView.deleteAttribute(HObject obj)
          delete an attribribute from a data object.
 Attribute DefaultMetaDataView.deleteAttribute(HObject obj)
          delete an attribute from a data object.
 javax.swing.tree.TreeNode TreeView.findTreeNode(HObject obj)
          Returns the tree node that contains the given data object.
 javax.swing.tree.TreeNode DefaultTreeView.findTreeNode(HObject obj)
          Returns the tree node that contains the given data object.
 DataView HDFView.getDataView(HObject dataObject)
          Returns DataView contains the specified data object.
 DataView ViewManager.getDataView(HObject dataObject)
          Returns DataView contains the specified data object.
 DataView TreeView.showDataContent(HObject dataObject)
          Dispaly the content of a data object.
 DataView DefaultTreeView.showDataContent(HObject dataObject)
          Dispaly the content of a data object.
 MetaDataView TreeView.showMetaData(HObject dataObject)
          Displays the meta data of a data object.
 MetaDataView DefaultTreeView.showMetaData(HObject dataObject)
          Displays the meta data of a data object.
 

Constructors in ncsa.hdf.view with parameters of type HObject
NewAttributeDialog(java.awt.Dialog owner, HObject obj, java.util.Enumeration objList)
          Constructs NewAttributeDialog with specified object (dataset, group, or image) which the new attribute to be attached to.
 

Uses of HObject in org.dawb.hdf5
 

Methods in org.dawb.hdf5 that return HObject
 HObject IHierarchicalDataFile.getData(java.lang.String fullPath)
           
 

Methods in org.dawb.hdf5 with parameters of type HObject
 void IHierarchicalDataFile.setNexusAttribute(HObject object, java.lang.String attribute)
          Does not set the attribute again if it is already set.
 

Uses of HObject in org.dawb.hdf5.nexus
 

Methods in org.dawb.hdf5.nexus with parameters of type HObject
static void NexusUtils.setNexusAttribute(FileFormat file, HObject entry, java.lang.String entryKey)
          Sets the nexus attribute so that if something is looking for them, then they are there.