|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jgrib.GribRecordBMS
public class GribRecordBMS
A class that represents the bitmap section (BMS) of a GRIB record. It indicates grid points where no parameter value is defined.
Field Summary | |
---|---|
protected boolean[] |
bitmap
The bit map. |
protected int |
length
Length in bytes of this section. |
Constructor Summary | |
---|---|
GribRecordBMS(BitInputStream in)
Constructs a GribRecordBMS object from a bit input stream. |
Method Summary | |
---|---|
boolean[] |
getBitmap()
Get bit map. |
int |
getLength()
Get length in bytes of this section. |
java.lang.String |
toString()
Get a string representation of this BMS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int length
protected boolean[] bitmap
Constructor Detail |
---|
public GribRecordBMS(BitInputStream in) throws java.io.IOException, NoValidGribException
in
- bit input stream with BMS content
java.io.IOException
- if stream can not be opened etc.
NoValidGribException
- if stream contains no valid GRIB fileMethod Detail |
---|
public int getLength()
public boolean[] getBitmap()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |