public class Grib2RecordScanner
extends java.lang.Object
Constructor and Description |
---|
Grib2RecordScanner(RandomAccessFile raf) |
Modifier and Type | Method and Description |
---|---|
static Grib2Record |
findRecordByDrspos(RandomAccessFile raf,
long drsPos)
tricky bit of business.
|
boolean |
hasNext() |
static boolean |
isValidFile(RandomAccessFile raf) |
static void |
main(java.lang.String[] args) |
static void |
main2(java.lang.String[] args) |
Grib2Record |
next() |
public Grib2RecordScanner(RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static boolean isValidFile(RandomAccessFile raf)
public static Grib2Record findRecordByDrspos(RandomAccessFile raf, long drsPos) throws java.io.IOException
raf
- from this RandomAccessFiledrsPos
- Grib2SectionDataRepresentation starts herejava.io.IOException
public boolean hasNext() throws java.io.IOException
java.io.IOException
public Grib2Record next() throws java.io.IOException
java.io.IOException
public static void main2(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException