ist.palcom.services.location.palgpsparser
Class RecordBuffer

java.lang.Object
  extended by ist.palcom.services.location.palgpsparser.RecordBuffer

public class RecordBuffer
extends java.lang.Object

Stores a single record (GPS data).


Constructor Summary
RecordBuffer()
          Creates a new instance of RecordBuffer
 
Method Summary
 Record getRecord()
          Gets stored record.
 void putRecord(Record record)
          Puts record in buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordBuffer

public RecordBuffer()
Creates a new instance of RecordBuffer

Method Detail

getRecord

public Record getRecord()
                 throws EmptyBufferException
Gets stored record.

Returns:
Stored record
Throws:
EmptyBufferException - If buffer is empty

putRecord

public void putRecord(Record record)
Puts record in buffer.

Parameters:
record - Record to be stored