Package nz.org.riskscape.hdf5.types
Class H5StringType
java.lang.Object
nz.org.riskscape.hdf5.H5Object
nz.org.riskscape.hdf5.types.H5Type
nz.org.riskscape.hdf5.types.H5StringType
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
read
(ByteBuffer outBuf, int offset) toString()
nz.org.riskscape.engine.types.Type
toType()
Methods inherited from class nz.org.riskscape.hdf5.types.H5Type
build, canEqual, close, equals, getClassName, getDataSize, hashCode, readVlen
Methods inherited from class nz.org.riskscape.hdf5.H5Object
getPointer
-
Constructor Details
-
H5StringType
protected H5StringType(long ptr)
-
-
Method Details
-
toType
public nz.org.riskscape.engine.types.Type toType() -
read
- Specified by:
read
in classH5Type
- Returns:
- a java object that represents the data that was stored in the outBuf if it was of this data type.
This java object should be coercable in to the type returned from
H5Type.toType()
-
toString
-
isVariableLength
public boolean isVariableLength()- Specified by:
isVariableLength
in classH5Type
- Returns:
- true if this type is, or contains something, of variable length. As yet, this H5 support in this plugin can not read datasets of variable length type
-