public abstract class AbstractDataRecord extends java.lang.Object implements DataRecord
AbstractDataRecord
class reads NOAA 1b data
records.Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
buffer
The data buffer to read.
|
protected DataHeader |
header
The header record for this data record.
|
protected BinaryStreamReader |
reader
The binary reader for this class.
|
Constructor and Description |
---|
AbstractDataRecord(java.nio.ByteBuffer buffer,
DataHeader header)
Creates a new record.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDate()
Gets the record date.
|
int |
getScanLine()
Gets the scan line number.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCalibration, getData, getNavigation, getSensorData, isCalibrationUsable, isNavigationUsable, isSensorDataUsable
protected BinaryStreamReader reader
protected java.nio.ByteBuffer buffer
protected DataHeader header
public AbstractDataRecord(java.nio.ByteBuffer buffer, DataHeader header)
buffer
- the buffer to use for record data.header
- the header record for this data record.java.lang.RuntimeException
- if the XML stream reader resource
file for the subclass cannot be found.public int getScanLine()
DataRecord
getScanLine
in interface DataRecord
public java.util.Date getDate()
DataRecord
getDate
in interface DataRecord