public abstract class AbstractArchiveHeader extends java.lang.Object implements ArchiveHeader
AbstractArchiveHeader
class reads header data
from NOAA 1b data files.Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
inputBuffer
The input buffer to use for data.
|
protected BinaryStreamReader |
reader
The binary reader for this class.
|
Constructor and Description |
---|
AbstractArchiveHeader(java.nio.ByteBuffer inputBuffer)
Creates a new header using the specified byte data.
|
Modifier and Type | Method and Description |
---|---|
boolean[] |
getChannelSelection()
Get the sensor channel data selection flags.
|
int |
getSensorWordSize()
Gets the sensor word size in bits.
|
protected abstract boolean |
isCompatible(java.nio.ByteBuffer inputBuffer)
Determines if the byte buffer data is compatible with this header.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHeaderSize
protected BinaryStreamReader reader
protected java.nio.ByteBuffer inputBuffer
public AbstractArchiveHeader(java.nio.ByteBuffer inputBuffer) throws java.io.IOException
inputBuffer
- the buffer to read for byte data.java.io.IOException
- if an error occurred checking the data.protected abstract boolean isCompatible(java.nio.ByteBuffer inputBuffer)
public boolean[] getChannelSelection()
ArchiveHeader
getChannelSelection
in interface ArchiveHeader
public int getSensorWordSize()
ArchiveHeader
getSensorWordSize
in interface ArchiveHeader