public class HeaderBlockReader extends Object implements HeaderBlockConstants
Modifier and Type | Field and Description |
---|---|
private IntegerField |
_bat_count |
private byte[] |
_data |
private IntegerField |
_property_start |
private IntegerField |
_sbat_start |
private IntegerField |
_xbat_count |
private IntegerField |
_xbat_start |
private int |
batsInHeader |
_bat_array_offset, _bat_count_offset, _property_start_offset, _sbat_block_count_offset, _sbat_start_offset, _signature, _signature_offset, _xbat_count_offset, _xbat_start_offset
Constructor and Description |
---|
HeaderBlockReader(InputStream stream,
int blockSize)
create a new HeaderBlockReader from an InputStream
|
Modifier and Type | Method and Description |
---|---|
int[] |
getBATArray() |
int |
getBATCount() |
int |
getPropertyStart()
get start of Property Table
|
int |
getSBATStart() |
int |
getXBATCount() |
int |
getXBATIndex() |
private IntegerField _bat_count
private IntegerField _property_start
private IntegerField _sbat_start
private IntegerField _xbat_start
private IntegerField _xbat_count
private byte[] _data
private int batsInHeader
public HeaderBlockReader(InputStream stream, int blockSize) throws IOException
stream
- the source InputStreamblockSize
- the size of a big blockIOException
- on errors or bad datapublic int getPropertyStart()
public int getSBATStart()
public int getBATCount()
public int[] getBATArray()
public int getXBATCount()
public int getXBATIndex()
Copyright © 2015 Open Microscopy Environment