|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.iosp.bufr.BufrIdentificationSection
public class BufrIdentificationSection
A class representing the IdentificationSection (section 1) of a BUFR record. Handles editions 2,3,4.
Constructor Summary | |
---|---|
BufrIdentificationSection(RandomAccessFile raf,
BufrIndicatorSection is)
Constructs a BufrIdentificationSection object from a raf. |
Method Summary | |
---|---|
int |
getCategory()
|
int |
getCenterId()
Identification of center. |
int |
getLocalSubCategory()
|
int |
getLocalTableVersion()
|
byte[] |
getLocalUseBytes()
last bytes of the id section are "reserved for local use by ADP centers. |
int |
getMasterTableId()
|
int |
getMasterTableVersion()
|
byte[] |
getOptionalSection(RandomAccessFile raf)
|
Date |
getReferenceTime(GregorianCalendar cal)
return record header time as a Date |
int |
getSubCategory()
|
int |
getSubCenterId()
Identification of subcenter. |
int |
getUpdateSequence()
Get update sequence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufrIdentificationSection(RandomAccessFile raf, BufrIndicatorSection is) throws IOException
raf
- RandomAccessFile with Section 1 contentis
- the BufrIndicatorSection, needed for the bufr edition number
IOException
- if raf contains no valid BUFR fileMethod Detail |
---|
public final int getCenterId()
public final int getSubCenterId()
public final int getUpdateSequence()
public final Date getReferenceTime(GregorianCalendar cal)
cal
- use this calendar to construct the date
public final int getCategory()
public final int getSubCategory()
public final int getLocalSubCategory()
public final int getMasterTableId()
public final int getMasterTableVersion()
public final int getLocalTableVersion()
public final byte[] getLocalUseBytes()
public final byte[] getOptionalSection(RandomAccessFile raf) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |