NMEA
Class ChannelAISData

java.lang.Object
  extended by NMEA.ChannelAISData
All Implemented Interfaces:
AISDataSet

public class ChannelAISData
extends java.lang.Object
implements AISDataSet

AIS Data recorded in the English Channel by Richard McLanaghan of IFAW.

Author:
Doug Gillespie

Field Summary
(package private)  java.lang.String[] aisStrings
           
private  int next
           
 
Constructor Summary
ChannelAISData()
           
 
Method Summary
 java.lang.String getNext()
          Get the NEXT AIS String from a simulator or list
 void reset()
          Rest the simulator or list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aisStrings

java.lang.String[] aisStrings

next

private int next
Constructor Detail

ChannelAISData

public ChannelAISData()
Method Detail

getNext

public java.lang.String getNext()
Description copied from interface: AISDataSet
Get the NEXT AIS String from a simulator or list

Specified by:
getNext in interface AISDataSet
Returns:
an AIS String

reset

public void reset()
Description copied from interface: AISDataSet
Rest the simulator or list.

Specified by:
reset in interface AISDataSet