Class HDF5GroupInfo
- java.lang.Object
-
- hdf.hdf5lib.HDF5GroupInfo
-
@Deprecated public class HDF5GroupInfo extends java.lang.Object
Deprecated.Not for public use. It is not used by the library. This class assumes that an object can contain four values which uniquely identify an object among those HDF5 files which are open. This is no longer valid in future HDF5 releases.This class is a container for the information reported about an HDF5 Object from the H5Gget_obj_info() method.
The fileno and objno fields contain four values which uniquely identify an object among those HDF5 files which are open: if all four values are the same between two objects, then the two objects are the same (provided both files are still open). The nlink field is the number of hard links to the object or zero when information is being returned about a symbolic link (symbolic links do not have hard links but all other objects always have at least one). The type field contains the type of the object, one of H5G_GROUP, H5G_DATASET, or H5G_LINK. The mtime field contains the modification time. If information is being returned about a symbolic link then linklen will be the length of the link value (the name of the pointed-to object with the null terminator); otherwise linklen will be zero. Other fields may be added to this structure in the future.
-
-
Constructor Summary
Constructors Constructor Description HDF5GroupInfo()
Deprecated.Container for the information reported about an HDF5 Object from the H5Gget_obj_info() method
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Deprecated.The fileno and objno fields contain four values which uniquely identify an object among those HDF5 files.long[]
getFileno()
Deprecated.fileno accessorsint
getLinklen()
Deprecated.accessorslong
getMtime()
Deprecated.accessorsint
getNlink()
Deprecated.accessorslong[]
getObjno()
Deprecated.accessorslong
getOID()
Deprecated.Returns the object id.int
getType()
Deprecated.accessorsvoid
reset()
Deprecated.Resets all the group information to defaults.void
setGroupInfo(long[] fn, long[] on, int nl, int t, long mt, int len)
Deprecated.Sets the HDF5 group information.java.lang.String
toString()
Deprecated./** Converts this object to a String representation.
-
-
-
Method Detail
-
setGroupInfo
public void setGroupInfo(long[] fn, long[] on, int nl, int t, long mt, int len)
Deprecated.Sets the HDF5 group information. Used by the JHI5.- Parameters:
fn
- File id numberon
- Object id numbernl
- Number of linkst
- Type of the objectmt
- Modification timelen
- Length of link
-
reset
public void reset()
Deprecated.Resets all the group information to defaults.
-
getFileno
public long[] getFileno()
Deprecated.fileno accessors- Returns:
- the file number if successful
-
getObjno
public long[] getObjno()
Deprecated.accessors- Returns:
- the object number if successful
-
getType
public int getType()
Deprecated.accessors- Returns:
- type of group if successful
-
getNlink
public int getNlink()
Deprecated.accessors- Returns:
- the number of links in the group if successful
-
getMtime
public long getMtime()
Deprecated.accessors- Returns:
- the modified time value if successful
-
getLinklen
public int getLinklen()
Deprecated.accessors- Returns:
- a length of link name if successful
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.The fileno and objno fields contain four values which uniquely identify an object among those HDF5 files.- Overrides:
equals
in classjava.lang.Object
-
getOID
public long getOID()
Deprecated.Returns the object id.- Returns:
- the object id
-
toString
public java.lang.String toString()
Deprecated./** Converts this object to a String representation.- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of this object
-
-