@Immutable
public class Grib2SectionIndicator
extends java.lang.Object
Constructor and Description |
---|
Grib2SectionIndicator(long startPos,
long messageLength,
int discipline) |
Grib2SectionIndicator(RandomAccessFile raf)
Read Grib2SectionIndicator from raf.
|
Modifier and Type | Method and Description |
---|---|
int |
getDiscipline()
Discipline - GRIB Master Table Number.
|
long |
getEndPos() |
long |
getMessageLength()
Get the length of this GRIB record in bytes.
|
long |
getStartPos() |
public Grib2SectionIndicator(RandomAccessFile raf) throws java.io.IOException
raf
- RandomAccessFile, with pointer at start (the "GRIB")java.io.IOException
- on I/O errorjava.lang.IllegalArgumentException
- if not a GRIB-2 recordpublic Grib2SectionIndicator(long startPos, long messageLength, int discipline)
public long getMessageLength()
public long getStartPos()
public long getEndPos()
public int getDiscipline()