net.sf.bt747.j2se.app.trackgraph.test
Class DataProviderCSVFile

java.lang.Object
  extended by net.sf.bt747.j2se.app.trackgraph.test.DataProviderCSVFile
All Implemented Interfaces:
CoordinateResolver, DataProvider

public class DataProviderCSVFile
extends java.lang.Object
implements DataProvider, CoordinateResolver

Simple CSV data handling for running in stand-alone mode. Reads Data from a CSV file created by BT747.

Author:
Matthias

Constructor Summary
DataProviderCSVFile(java.io.File csvfile)
           
 
Method Summary
 java.util.Iterator<info.monitorenter.gui.chart.TracePoint2D> getHeightIter()
           
 GPSRecord getRecordOfTimestamp(double t)
           
 java.util.Iterator<info.monitorenter.gui.chart.TracePoint2D> getSpeedIter()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataProviderCSVFile

public DataProviderCSVFile(java.io.File csvfile)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getHeightIter

public java.util.Iterator<info.monitorenter.gui.chart.TracePoint2D> getHeightIter()
Specified by:
getHeightIter in interface DataProvider

getSpeedIter

public java.util.Iterator<info.monitorenter.gui.chart.TracePoint2D> getSpeedIter()
Specified by:
getSpeedIter in interface DataProvider

getRecordOfTimestamp

public GPSRecord getRecordOfTimestamp(double t)
Specified by:
getRecordOfTimestamp in interface CoordinateResolver