public class Grib2RecordScanner extends 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(String[] args) |
static void |
main2(String[] args) |
Grib2Record |
next() |
public Grib2RecordScanner(RandomAccessFile raf) throws IOException
IOException
public static boolean isValidFile(RandomAccessFile raf)
public static Grib2Record findRecordByDrspos(RandomAccessFile raf, long drsPos) throws IOException
raf
- from this RandomAccessFiledrsPos
- Grib2SectionDataRepresentation starts hereIOException
public boolean hasNext() throws IOException
IOException
public Grib2Record next() throws IOException
IOException
public static void main2(String[] args) throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.