public class AisMessageParser extends Object
| Constructor and Description |
|---|
AisMessageParser()
Constructor.
|
AisMessageParser(AisExtractorFactory factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AisMessage |
parse(String message,
int padBits)
Returns an
AisMessage from the string representation of the
message as per 1371-4 IMO specification (as per the appropriate column in
the NMEA message). |
AisMessage |
parse(String message,
String source,
int padBits)
Returns an
AisMessage from the string representation of the
message as per 1371-4 IMO specification (as per the appropriate column in
the NMEA message). |
public AisMessageParser()
public AisMessageParser(AisExtractorFactory factory)
factory - public AisMessage parse(String message, int padBits)
AisMessage from the string representation of the
message as per 1371-4 IMO specification (as per the appropriate column in
the NMEA message). Sets source to null.message - public AisMessage parse(String message, String source, int padBits)
AisMessage from the string representation of the
message as per 1371-4 IMO specification (as per the appropriate column in
the NMEA message).message - source - Copyright © 2020. All rights reserved.