ucar.nc2.iosp.bufr
Class BufrIndicatorSection

java.lang.Object
  extended by ucar.nc2.iosp.bufr.BufrIndicatorSection

public class BufrIndicatorSection
extends Object

Section 0 of BUFR data record


Constructor Summary
BufrIndicatorSection(RandomAccessFile raf)
          Constructs a BufrIndicatorSection object from a raf.
 
Method Summary
 int getBufrEdition()
          Get the edition of the BUFR specification used.
 int getBufrLength()
          Get the byte length of this BUFR record.
 long getStartPos()
          Get starting position in the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufrIndicatorSection

public BufrIndicatorSection(RandomAccessFile raf)
                     throws IOException
Constructs a BufrIndicatorSection object from a raf.

Parameters:
raf - RandomAccessFile with IndicatorSection content
Throws:
IOException - on read error
Method Detail

getBufrLength

public final int getBufrLength()
Get the byte length of this BUFR record.

Returns:
length in bytes of BUFR record

getBufrEdition

public final int getBufrEdition()
Get the edition of the BUFR specification used.

Returns:
edition number of BUFR specification

getStartPos

public final long getStartPos()
Get starting position in the file. This should point to the "BUFR" chars .

Returns:
byte offset in file of start of BUFR meessage.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.