public class H5headerNew extends Object implements H5headerIF, HdfHeaderIF
| Modifier and Type | Class and Description |
|---|---|
static class |
H5headerNew.TypeInfo |
class |
H5headerNew.Vinfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
HDF5_CLASS |
static String |
HDF5_DIMENSION_LABELS |
static String |
HDF5_DIMENSION_LIST |
static String |
HDF5_DIMENSION_NAME |
static String |
HDF5_DIMENSION_SCALE |
static String |
HDF5_REFERENCE_LIST |
public static final String HDF5_CLASS
public static final String HDF5_DIMENSION_LIST
public static final String HDF5_DIMENSION_SCALE
public static final String HDF5_DIMENSION_LABELS
public static final String HDF5_DIMENSION_NAME
public static final String HDF5_REFERENCE_LIST
public static void setWarnings(boolean warn)
public static void setDebugFlags(DebugFlags debugFlag)
public static boolean isValidFile(RandomAccessFile raf) throws IOException
IOExceptionprotected Charset getValueCharset()
value charset that
will be used by reading HDF5 header.charsetpublic void read(PrintWriter debugPS) throws IOException
IOExceptionpublic Group.Builder getRootGroup()
getRootGroup in interface HdfHeaderIFpublic void makeVinfoForDimensionMapVariable(Group.Builder parent, Variable.Builder<?> v)
makeVinfoForDimensionMapVariable in interface HdfHeaderIFpublic String readStructMetadata(Variable.Builder<?> structMetadataVar) throws IOException
readStructMetadata in interface HdfHeaderIFIOExceptionpublic int makeIntFromBytes(byte[] bb,
int start,
int n)
makeIntFromBytes in interface H5headerIFpublic boolean isOffsetLong()
isOffsetLong in interface H5headerIFpublic long readLength()
throws IOException
readLength in interface H5headerIFIOExceptionpublic long readOffset()
throws IOException
readOffset in interface H5headerIFIOExceptionpublic long readAddress()
throws IOException
readAddress in interface H5headerIFIOExceptionpublic byte getSizeLengths()
getSizeLengths in interface H5headerIFpublic int getNumBytesFromMax(long maxNumber)
getNumBytesFromMax in interface H5headerIFpublic long readVariableSizeUnsigned(int size)
throws IOException
readVariableSizeUnsigned in interface H5headerIFIOExceptionpublic RandomAccessFile getRandomAccessFile()
getRandomAccessFile in interface H5headerIFpublic long getFileOffset(long address)
getFileOffset in interface H5headerIFpublic byte getSizeOffsets()
getSizeOffsets in interface H5headerIFpublic void close()
public void getEosInfo(Formatter f) throws IOException
IOExceptionpublic List<H5objects.DataObject> getDataObjects()