@Immutable
public class Grib2SectionBitMap
extends java.lang.Object
Constructor and Description |
---|
Grib2SectionBitMap(long startingPosition,
int bitMapIndicator) |
Grib2SectionBitMap(RandomAccessFile raf) |
Modifier and Type | Method and Description |
---|---|
static Grib2SectionBitMap |
factory(RandomAccessFile raf,
long startingPos) |
byte[] |
getBitmap(RandomAccessFile raf)
Read the bit map array.
|
int |
getBitMapIndicator() |
long |
getStartingPosition() |
java.lang.String |
toString() |
public Grib2SectionBitMap(RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public Grib2SectionBitMap(long startingPosition, int bitMapIndicator)
public static Grib2SectionBitMap factory(RandomAccessFile raf, long startingPos) throws java.io.IOException
java.io.IOException
public int getBitMapIndicator()
public long getStartingPosition()
public byte[] getBitmap(RandomAccessFile raf) throws java.io.IOException
raf
- read from herejava.io.IOException
- on read errorpublic java.lang.String toString()
toString
in class java.lang.Object