|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.hdf5.hdf5objects.HDF5Object
public class HDF5Object
HDF5Object is an HDF5Object which is the super class of all the HDF5 objects. Each HDF5 object inherits all the methods and fields of the HDF5Object and may override inherited methods.
HDF5 files are organized in a hierarchical structure, with two primary structures (or objects): groups and datasets.
HDF5Group: a grouping structure containing instances of zero or more groups or datasets, together with supporting metadata. HDF5Dataset: a multidimensional array of data elements, together with supporting metadata.Other HDF5 objects include
Field Summary | |
---|---|
static int |
ATTRIBUTE
|
static int |
DATASET
Object is a dataset |
static int |
DATASPACE
|
static int |
DATATYPE
|
protected String |
description
the short description of the HDF5 object |
static int |
GROUP
Object is a group |
static int |
HDF5FILE
|
protected int |
id
the identifier of the HDF5 object |
static int |
LINK
Object is a symbolic link |
protected String |
name
the full path name of the HDF5 object |
protected String |
shortName
the short name for display: name without path |
protected int |
type
the type of the object |
static int |
UNKNOWN
Unknown object type |
Constructor Summary | |
---|---|
HDF5Object()
construct an HDF5 object with defaults |
|
HDF5Object(String objName)
cosntruct an HDF5Object object name |
Method Summary | |
---|---|
String |
getDescription()
Returns the description of the HDF5Object |
int |
getID()
Returns the identifier of the HDF5Object |
String |
getName()
Returns the full name of the HDF5Object |
String |
getShortName()
Returns the short name of the HDF5Object |
int |
getType()
Returns the type of the object |
void |
init()
initialize the HDF5Object: open the HDF5 library. |
void |
setID(int new_id)
reset the HDF5Object for a given id |
void |
setShortName(String sname)
Sets the short name of the HDF5Object |
void |
setType(int t)
Sets the type of the object |
String |
toString()
Converts this object to a String representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNKNOWN
public static final int LINK
public static final int GROUP
public static final int DATASET
public static final int DATATYPE
public static final int DATASPACE
public static final int ATTRIBUTE
public static final int HDF5FILE
protected int type
protected String name
protected String shortName
protected int id
protected String description
Constructor Detail |
---|
public HDF5Object()
public HDF5Object(String objName)
objName
- the name of the HDF5 data objectMethod Detail |
---|
public void init() throws HDF5Exception
HDF5Exception
public void setID(int new_id) throws HDF5Exception
new_id
- the id of the object
HDF5Exception
public void setShortName(String sname)
public int getType()
public void setType(int t)
public String getName()
public String getShortName()
public String getDescription()
public int getID()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |