ocss.nmea.parser
Class StringParsers

java.lang.Object
  |
  +--ocss.nmea.parser.StringParsers

public class StringParsers
extends java.lang.Object


Field Summary
static short DEPTH_IN_FATHOMS
           
static short DEPTH_IN_FEET
           
static short DEPTH_IN_METERS
           
 
Constructor Summary
StringParsers()
           
 
Method Summary
static float parseDBT(java.lang.String s, short unit)
           
static GeoPos parseGLL(java.lang.String s)
           
static int parseHDM(java.lang.String s)
           
static Wind parseMWV(java.lang.String s)
           
static java.lang.String parseRMC(java.lang.String data)
           
static double parseVHW(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPTH_IN_FEET

public static final short DEPTH_IN_FEET
See Also:
Constant Field Values

DEPTH_IN_METERS

public static final short DEPTH_IN_METERS
See Also:
Constant Field Values

DEPTH_IN_FATHOMS

public static final short DEPTH_IN_FATHOMS
See Also:
Constant Field Values
Constructor Detail

StringParsers

public StringParsers()
Method Detail

parseVHW

public static double parseVHW(java.lang.String s)

parseMWV

public static Wind parseMWV(java.lang.String s)

parseGLL

public static GeoPos parseGLL(java.lang.String s)

parseHDM

public static int parseHDM(java.lang.String s)

parseRMC

public static java.lang.String parseRMC(java.lang.String data)

parseDBT

public static float parseDBT(java.lang.String s,
                             short unit)