public final class NmeaUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
createNmeaLine(LinkedHashMap<String,String> tags,
List<String> items) |
static String |
createTagBlock(LinkedHashMap<String,String> tags) |
static String |
getChecksum(String sentence) |
static String |
getChecksum(String sentence,
boolean ignoreLeadingDollarOrExclamation) |
static Talker |
getTalker(String s) |
static String |
insertKeyValueInTagBlock(String line,
String name,
String value) |
static boolean |
isValid(String sentence)
Returns true if and only if the sentence's checksum matches the
calculated checksum.
|
static NmeaMessage |
parseNmea(String line) |
static String |
supplementWithTime(String line,
long arrivalTime) |
public static boolean isValid(String sentence)
sentence
- public static String getChecksum(String sentence, boolean ignoreLeadingDollarOrExclamation)
public static NmeaMessage parseNmea(String line)
public static String insertKeyValueInTagBlock(String line, String name, String value)
public static String createTagBlock(LinkedHashMap<String,String> tags)
Copyright © 2020. All rights reserved.