com.partnersoft.v3x.apps.MapBrowser.rover
Class MultiDumpDataStore

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.rover.RoverDataStore
      extended by com.partnersoft.v3x.apps.MapBrowser.rover.MultiDumpDataStore

public class MultiDumpDataStore
extends RoverDataStore

Storage for Rover Data, indexed by datatype and dataID, stored as a set of numbered dump files.


Constructor Summary
MultiDumpDataStore()
           
MultiDumpDataStore(java.lang.String path)
           
 
Method Summary
 RoverData getDataFor(int dataType, int dataID)
          Grab the RoverData object for the given dataType and ID.
 java.util.ArrayList getLabelsFor(int dataType)
          Grab the field names for the given dataType.
 java.lang.String getPath()
          Directory path to RoverDataStore files.
 java.lang.String getThemeNameFor(int dataType)
          Grab the theme name for the given dataType.
 void setPath(java.lang.String newPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiDumpDataStore

public MultiDumpDataStore()

MultiDumpDataStore

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

getLabelsFor

public java.util.ArrayList getLabelsFor(int dataType)
Grab the field names for the given dataType.


getThemeNameFor

public java.lang.String getThemeNameFor(int dataType)
Grab the theme name for the given dataType.

Specified by:
getThemeNameFor in class RoverDataStore

getDataFor

public RoverData getDataFor(int dataType,
                            int dataID)
Grab the RoverData object for the given dataType and ID.

Specified by:
getDataFor in class RoverDataStore

getPath

public java.lang.String getPath()
Directory path to RoverDataStore files.

Overrides:
getPath in class RoverDataStore

setPath

public void setPath(java.lang.String newPath)
Overrides:
setPath in class RoverDataStore