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 java.lang.String |
HDF5_CLASS |
static java.lang.String |
HDF5_DIMENSION_LABELS |
static java.lang.String |
HDF5_DIMENSION_LIST |
static java.lang.String |
HDF5_DIMENSION_NAME |
static java.lang.String |
HDF5_DIMENSION_SCALE |
static java.lang.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(java.util.Map<java.lang.Integer,java.lang.String> map,
DataType dataType,
Array values) |
java.util.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(java.io.PrintWriter debugPS) |
long |
readAddress() |
long |
readLength() |
long |
readOffset() |
long |
readVariableSizeUnsigned(int size) |
static void |
setDebugFlags(DebugFlags debugFlag) |
static void |
setWarnings(boolean warn) |
checkFileType, formatName
public static final java.lang.String HDF5_CLASS
public static final java.lang.String HDF5_DIMENSION_LIST
public static final java.lang.String HDF5_DIMENSION_SCALE
public static final java.lang.String HDF5_DIMENSION_LABELS
public static final java.lang.String HDF5_DIMENSION_NAME
public static final java.lang.String HDF5_REFERENCE_LIST
public static void setWarnings(boolean warn)
public static void setDebugFlags(DebugFlags debugFlag)
public static boolean isValidFile(RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public byte getSizeOffsets()
getSizeOffsets
in interface H5headerIF
public byte getSizeLengths()
getSizeLengths
in interface H5headerIF
public void read(java.io.PrintWriter debugPS) throws java.io.IOException
java.io.IOException
protected Array convertEnums(java.util.Map<java.lang.Integer,java.lang.String> map, DataType dataType, Array values)
public java.util.List<H5header.DataObject> getDataObjects()
public int makeIntFromBytes(byte[] bb, int start, int n)
makeIntFromBytes
in interface H5headerIF
public boolean isOffsetLong()
isOffsetLong
in interface H5headerIF
public long readLength() throws java.io.IOException
readLength
in interface H5headerIF
java.io.IOException
public long readOffset() throws java.io.IOException
readOffset
in interface H5headerIF
java.io.IOException
public long readAddress() throws java.io.IOException
readAddress
in interface H5headerIF
java.io.IOException
public int getNumBytesFromMax(long maxNumber)
getNumBytesFromMax
in interface H5headerIF
public long readVariableSizeUnsigned(int size) throws java.io.IOException
readVariableSizeUnsigned
in interface H5headerIF
java.io.IOException
public RandomAccessFile getRandomAccessFile()
getRandomAccessFile
in interface H5headerIF
public long getFileOffset(long address)
getFileOffset
in interface H5headerIF
public void close()