Skip to content

Java Marine API - NMEA 0183 library for Java

Notifications You must be signed in to change notification settings

kibergus/marine-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Marine API Build Status

Java Marine API is an NMEA 0183 parser library for Java. See project webpage for more info and documentation.

Also, basic support for decoding AIS messages is under development and included in latest snapshots for preview. As this is quite a large new feature, all feedback and contribution is much appreciated!

Usage

The API has been designed generic and easy to use instead for particular purpose. The NMEA stream translates into event/listener model. For example,

SentenceReader reader = new SentenceReader(new FileInputStream(file)); // any stream will do
reader.addSentenceListener(this); // "this" extends or implements sentence listener
reader.start();

reads through a file and passes all or filtered sentences to listeners:

public void sentenceRead(GGASentence gga) {
    System.out.println(gga.getPosition());
}

See examples for more.

Snapshots

Maven snapshots are deployed to Central Repository every now and then. Notice that although they should be mostly stable, they are still work-in-progress.

Sourceforge

Project was originally published in Sourceforge.net, hence the net.sf package naming.

About

Java Marine API - NMEA 0183 library for Java

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • HTML 0.3%