com.partnersoft.v3x.apps.GPS
Class GPSFileManager

java.lang.Object
  extended by com.partnersoft.v3x.apps.GPS.GPSFileManager

public class GPSFileManager
extends java.lang.Object

Manager for GPS data files. Handles translation to Rover, listing, etc.


Constructor Summary
GPSFileManager(java.lang.String path)
           
 
Method Summary
 void clearData()
          Cleans up rover data directories; do this when you start an application that uses GPS files.
 RoverBundle getGPSRover(java.lang.String gpsFilename)
          Converts the given GPS file to a RoverBundle and returns the result.
 java.util.Iterator listGPSFiles()
          Lists the filenames of all GPS files.
static GPSFileManager singleton()
          Use this singleton to keep from getting too many cooks in the kitchen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPSFileManager

public GPSFileManager(java.lang.String path)
Method Detail

singleton

public static GPSFileManager singleton()
Use this singleton to keep from getting too many cooks in the kitchen.


listGPSFiles

public java.util.Iterator listGPSFiles()
Lists the filenames of all GPS files.


clearData

public void clearData()
Cleans up rover data directories; do this when you start an application that uses GPS files.


getGPSRover

public RoverBundle getGPSRover(java.lang.String gpsFilename)
Converts the given GPS file to a RoverBundle and returns the result. The RoverBundle files are stored in the tempDir.