public interface IHDF5EnumTypeRetriever
Obtain an object implementing this interface by calling IHDF5Reader.enumeration()
.
Modifier and Type | Method and Description |
---|---|
HDF5EnumerationType |
getAttributeType(java.lang.String dataSetPath,
java.lang.String attributeName)
Returns the enumeration type for the data set dataSetPath.
|
HDF5EnumerationType |
getDataSetType(java.lang.String dataSetPath)
Returns the enumeration type for the data set dataSetPath.
|
HDF5EnumerationType |
getType(java.lang.Class<? extends java.lang.Enum<?>> enumClass,
boolean check)
Returns the enumeration type name for this HDF5 file.
|
<T extends java.lang.Enum<?>> |
getType(java.lang.Class<T> enumClass)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType |
getType(EnumerationType genericType)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType |
getType(EnumerationType genericType,
boolean check)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType |
getType(java.lang.String dataTypeName)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType |
getType(java.lang.String dataTypeName,
java.lang.Class<? extends java.lang.Enum<?>> enumClass)
Returns the enumeration type name for this HDF5 file.
|
<T extends java.lang.Enum<?>> |
getType(java.lang.String dataTypeName,
java.lang.Class<T> enumClass,
boolean check)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType |
getType(java.lang.String dataTypeName,
java.lang.String[] values)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType |
getType(java.lang.String dataTypeName,
java.lang.String[] values,
boolean check)
Returns the enumeration type name for this HDF5 file.
|
HDF5EnumerationType getType(java.lang.String dataTypeName)
dataTypeName
- The name of the enumeration in the HDF5 file.HDF5EnumerationType getDataSetType(java.lang.String dataSetPath)
dataSetPath
- The name of data set to get the enumeration type for.HDF5EnumerationType getAttributeType(java.lang.String dataSetPath, java.lang.String attributeName)
dataSetPath
- The name of data set.attributeName
- The name of the attribute to get the type for.HDF5EnumerationType getType(java.lang.String dataTypeName, java.lang.String[] values) throws HDF5JavaException
dataTypeName
- The name of the enumeration in the HDF5 file.values
- The values of the enumeration.HDF5JavaException
- If the data type exists and is not compatible with the
values provided.HDF5EnumerationType getType(EnumerationType genericType) throws HDF5JavaException
genericType
- The generic enum type (independent of this file).HDF5JavaException
- If the data type exists and is not compatible with the
values provided.HDF5EnumerationType getType(java.lang.String dataTypeName, java.lang.String[] values, boolean check) throws HDF5JavaException
dataTypeName
- The name of the enumeration in the HDF5 file.values
- The values of the enumeration.check
- If true
and if the data type already exists, check whether it is
compatible with the values provided.HDF5JavaException
- If check = true
, the data type exists and is not
compatible with the values provided.HDF5EnumerationType getType(EnumerationType genericType, boolean check) throws HDF5JavaException
genericType
- The generic enum type (independent of this file).check
- If true
and if the data type already exists, check whether it is
compatible with the values provided.HDF5JavaException
- If check = true
, the data type exists and is not
compatible with the values provided.HDF5EnumerationType getType(java.lang.String dataTypeName, java.lang.Class<? extends java.lang.Enum<?>> enumClass) throws HDF5JavaException
dataTypeName
- The name of the enumeration in the HDF5 file.enumClass
- The enumeration class to get the values from.HDF5JavaException
- If the data type exists and is not compatible with the
enumClass provided.<T extends java.lang.Enum<?>> HDF5EnumerationType getType(java.lang.String dataTypeName, java.lang.Class<T> enumClass, boolean check) throws HDF5JavaException
dataTypeName
- The name of the enumeration in the HDF5 file.enumClass
- The enumeration class to get the values from.check
- If true
and if the data type already exists, check whether it is
compatible with the enumClass provided.HDF5JavaException
- If the data type exists and is not compatible with the
values provided.<T extends java.lang.Enum<?>> HDF5EnumerationType getType(java.lang.Class<T> enumClass) throws HDF5JavaException
enumClass
- The enumeration class to get the values from.HDF5JavaException
- If the data type exists and is not compatible with the
values provided.HDF5EnumerationType getType(java.lang.Class<? extends java.lang.Enum<?>> enumClass, boolean check) throws HDF5JavaException
enumClass
- The enumeration class to get the values from.check
- If true
and if the data type already exists, check whether it is
compatible with the enumClass provided.HDF5JavaException
- If the data type exists and is not compatible with the
values provided.