org.mbari.siam.devices.seabird.sbe52mp
Class Seabird52PacketParser

java.lang.Object
  extended by org.mbari.siam.distributed.PacketParser
      extended by org.mbari.siam.utils.DelimitedStringParser
          extended by org.mbari.siam.devices.seabird.sbe52mp.Seabird52PacketParser
All Implemented Interfaces:
java.io.Serializable

public class Seabird52PacketParser
extends DelimitedStringParser

Parses SIAM data packets * /* $Id: Seabird52PacketParser.java,v 1.6 2009/05/28 23:53:33 headley Exp $ $Name: HEAD $ $Revision: 1.6 $

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.distributed.PacketParser
PacketParser.Field, PacketParser.Record
 
Field Summary
static java.lang.String CONDUCTIVITY_KEY
           
static java.lang.String OXYGEN_KEY
           
static java.lang.String PRESSURE_KEY
           
static java.lang.String TEMPERATURE_KEY
           
 
Fields inherited from class org.mbari.siam.utils.DelimitedStringParser
_delimiters, _fieldVector
 
Fields inherited from class org.mbari.siam.distributed.PacketParser
_registryName
 
Constructor Summary
Seabird52PacketParser()
           
Seabird52PacketParser(java.lang.String registryName)
           
 
Method Summary
protected  PacketParser.Field processToken(int nToken, java.lang.String token)
          Process each token in Seabird 52's ASCII output record; this method is called by the framework for each token in the record.
 
Methods inherited from class org.mbari.siam.utils.DelimitedStringParser
decimalValue, parseFields
 
Methods inherited from class org.mbari.siam.distributed.PacketParser
getField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPERATURE_KEY

public static final java.lang.String TEMPERATURE_KEY
See Also:
Constant Field Values

CONDUCTIVITY_KEY

public static final java.lang.String CONDUCTIVITY_KEY
See Also:
Constant Field Values

PRESSURE_KEY

public static final java.lang.String PRESSURE_KEY
See Also:
Constant Field Values

OXYGEN_KEY

public static final java.lang.String OXYGEN_KEY
See Also:
Constant Field Values
Constructor Detail

Seabird52PacketParser

public Seabird52PacketParser()

Seabird52PacketParser

public Seabird52PacketParser(java.lang.String registryName)
Method Detail

processToken

protected PacketParser.Field processToken(int nToken,
                                          java.lang.String token)
                                   throws java.text.ParseException
Process each token in Seabird 52's ASCII output record; this method is called by the framework for each token in the record.

Specified by:
processToken in class DelimitedStringParser
Throws:
java.text.ParseException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.