public class H5header extends Object implements HdfHeaderIF
| Modifier and Type | Class and Description |
|---|---|
static class |
H5header.TypeInfo |
class |
H5header.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 when reading HDF5 header.public 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)
public boolean isOffsetLong()
public long readLength()
throws IOException
IOExceptionpublic long readOffset()
throws IOException
IOExceptionpublic long readAddress()
throws IOException
IOExceptionpublic byte getSizeLengths()
public int getNumBytesFromMax(long maxNumber)
public long readVariableSizeUnsigned(int size)
throws IOException
IOExceptionpublic RandomAccessFile getRandomAccessFile()
public long getFileOffset(long address)
public byte getSizeOffsets()
public void close()
public void getEosInfo(Formatter f) throws IOException
IOExceptionpublic List<H5objects.DataObject> getDataObjects()