public class HDF5Object extends Object implements Serializable
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
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
HDF5Object()
construct an HDF5 object with defaults
|
HDF5Object(String objName)
cosntruct an HDF5Object object name
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public HDF5Object()
public HDF5Object(String objName)
objName
- the name of the HDF5 data objectpublic void init() throws HDF5Exception
HDF5Exception
public void setID(int new_id) throws HDF5Exception
new_id
- the id of the objectHDF5Exception
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()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.