public class H5header extends NCheader implements H5headerIF
| Modifier and Type | Class and Description |
|---|---|
class |
H5header.DataObject |
class |
H5header.HeaderMessage |
class |
H5header.MessageAttribute |
class |
H5header.MessageDataspace |
class |
H5header.MessageDatatype |
static class |
H5header.MessageType |
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 |
CDF1HEAD, CDF2HEAD, CDF5HEAD, H4HEAD, H5HEAD, NC_FORMAT_64BIT, NC_FORMAT_64BIT_DATA, NC_FORMAT_64BIT_OFFSET, NC_FORMAT_CDF5, NC_FORMAT_CLASSIC, NC_FORMAT_HDF4, NC_FORMAT_HDF5, NC_FORMAT_NETCDF3, NC_FORMAT_NETCDF4| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Array |
convertEnums(Map<Integer,String> map,
DataType dataType,
Array values) |
List<H5header.DataObject> |
getDataObjects() |
long |
getFileOffset(long address) |
int |
getNumBytesFromMax(long maxNumber) |
RandomAccessFile |
getRandomAccessFile() |
byte |
getSizeLengths() |
byte |
getSizeOffsets() |
boolean |
isOffsetLong() |
static boolean |
isValidFile(RandomAccessFile raf) |
int |
makeIntFromBytes(byte[] bb,
int start,
int n) |
void |
read(PrintWriter debugPS) |
long |
readAddress() |
long |
readLength() |
long |
readOffset() |
long |
readVariableSizeUnsigned(int size) |
static void |
setDebugFlags(DebugFlags debugFlag) |
static void |
setWarnings(boolean warn) |
checkFileType, formatNamepublic 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
IOExceptionpublic byte getSizeOffsets()
getSizeOffsets in interface H5headerIFpublic byte getSizeLengths()
getSizeLengths in interface H5headerIFpublic void read(PrintWriter debugPS) throws IOException
IOExceptionpublic List<H5header.DataObject> getDataObjects()
public 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 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 void close()