org.placelab.spotter
Class OldPlacelabStumblerLogSpotter
java.lang.Object
org.placelab.spotter.AbstractSpotter
org.placelab.spotter.SyncSpotter
org.placelab.spotter.LogSpotter
org.placelab.spotter.OldPlacelabStumblerLogSpotter
- All Implemented Interfaces:
- Spotter
- public class OldPlacelabStumblerLogSpotter
- extends LogSpotter
| Methods inherited from class org.placelab.spotter.AbstractSpotter |
addListener, notifyEndOfScan, notifyEndOfScan, notifyGotException, notifyGotException, notifyGotMeasurement, notifyGotMeasurement, removeListener, scanOnce, scanOnce, waitForThread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPS_THRESHOLD
public static int GPS_THRESHOLD
done
public static boolean done
lineNum
public int lineNum
OldPlacelabStumblerLogSpotter
public OldPlacelabStumblerLogSpotter(java.lang.String file)
open
public void open()
throws SpotterException
- Description copied from interface:
Spotter
- Load resources used by the spotter. Applications should be able to
invoke this methods multiple times in sequence and have the "right" things happen.
All Spotters should be opened before being used.
- Throws:
SpotterException - if the necessary hardware or software for this spotter
is not present
close
public void close()
- Description copied from interface:
Spotter
- Unloads resources used by the spotter. Multiple calls to close are ok.
setGPSThreshold
public void setGPSThreshold(int millis)
getGPSThreshold
public int getGPSThreshold()
getMeasurementFromLog
public Measurement getMeasurementFromLog()
- Description copied from class:
LogSpotter
- Returns a single Measurement from the log, or null if there are no Measurements
remaining. This method is only of interest to implementers of LogSpotters, users
should instead call
Spotter.getMeasurement()
- Specified by:
getMeasurementFromLog in class LogSpotter
main
public static void main(java.lang.String[] args)
jingoLat
public static java.lang.String jingoLat(double d)
jingoLon
public static java.lang.String jingoLon(double d)
blah
public static java.lang.String blah(int i)