org.mbari.siam.devices.ysi
Class Ysi.ysiPacketParser

java.lang.Object
  extended by org.mbari.siam.distributed.PacketParser
      extended by org.mbari.siam.utils.DelimitedStringParser
          extended by org.mbari.siam.devices.ysi.Ysi.ysiPacketParser
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Ysi

public static class Ysi.ysiPacketParser
extends DelimitedStringParser

Ysi packet parser

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.distributed.PacketParser
PacketParser.Field, PacketParser.Record
 
Field Summary
 
Fields inherited from class org.mbari.siam.utils.DelimitedStringParser
_delimiters, _fieldVector
 
Fields inherited from class org.mbari.siam.distributed.PacketParser
_registryName
 
Constructor Summary
Ysi.ysiPacketParser(Ysi.Attributes a)
          Constructor
 
Method Summary
protected  void parserReportedDependencies(Ysi.Attributes _attributes)
          set arraylist for reported order and hashmap.
protected  void parserUnits(Ysi.Attributes _attributes)
           
protected  PacketParser.Field processToken(int nToken, java.lang.String token)
          Process the token, whose position in string is nToken.
 
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
 

Constructor Detail

Ysi.ysiPacketParser

public Ysi.ysiPacketParser(Ysi.Attributes a)
Constructor

Method Detail

parserUnits

protected void parserUnits(Ysi.Attributes _attributes)

parserReportedDependencies

protected void parserReportedDependencies(Ysi.Attributes _attributes)
set arraylist for reported order and hashmap.


processToken

protected PacketParser.Field processToken(int nToken,
                                          java.lang.String token)
                                   throws java.text.ParseException
Description copied from class: DelimitedStringParser
Process the token, whose position in string is nToken. If token corresponds to a Field, create and return the field. Otherwise return null.

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.