net.sf.marineapi.nmea.sentence
Class SentenceValidator

java.lang.Object
  extended by net.sf.marineapi.nmea.sentence.SentenceValidator

public final class SentenceValidator
extends Object

SentenceValidator checks any String against NMEA 0183 format.

Any String is considered as a valid NMEA sentence if it meets the following criteria:

Sentences without checksum are validated only by checking the general sentence characteristics.

Version:
$Revision: 100 $
Author:
Kimmo Tuukkanen

Method Summary
static boolean isValid(String nmea)
          Validates of the specified String against NMEA 0183 sentence format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValid

public static boolean isValid(String nmea)
Validates of the specified String against NMEA 0183 sentence format.

Parameters:
nmea - String to validate
Returns:
true if valid, otherwise false.


Copyright (C) 2010-2011 Java Marine API author(s). All Rights Reserved.