NASA World Wind

gov.nasa.worldwindx.applications.dataimporter
Class FileStoreDataSet

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwindx.applications.dataimporter.FileStoreDataSet
All Implemented Interfaces:
AVList

public class FileStoreDataSet
extends AVListImpl

Represents one data set within a World Wind filestore.


Field Summary
protected  String configFilePath
           
protected  String dataSetPath
           
static String ELEVATION
           
protected  String filestorePath
           
static String IMAGERY
           
 
Constructor Summary
FileStoreDataSet(String filestorePath, String dataSetPath, String configFilePath)
          Constructs a new filestore data set.
 
Method Summary
protected  void attachMetadata()
           
 void delete()
          Delete an installed data set.
 Color getColor()
           
 String getDatasetType()
           
 String getName()
           
 String getPath()
           
 Sector getSector()
           
 long getSize()
           
 long getSize(String path)
           
 boolean isElevation()
           
 boolean isImagery()
           
protected static boolean removeDirectory(File directory)
           
protected static void setFallbackParams(Document dataConfig, String filename, AVList params)
           
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configFilePath

protected final String configFilePath

dataSetPath

protected final String dataSetPath

ELEVATION

public static final String ELEVATION
See Also:
Constant Field Values

filestorePath

protected final String filestorePath

IMAGERY

public static final String IMAGERY
See Also:
Constant Field Values
Constructor Detail

FileStoreDataSet

public FileStoreDataSet(String filestorePath,
                        String dataSetPath,
                        String configFilePath)
Constructs a new filestore data set.

Parameters:
filestorePath - the full path to the filestore containing the data set.
dataSetPath - the full path to the data set in the specified filestore.
configFilePath - the full path to the data set's config file.
Method Detail

attachMetadata

protected void attachMetadata()

delete

public void delete()
Delete an installed data set.


getColor

public Color getColor()

getDatasetType

public String getDatasetType()

getName

public String getName()

getPath

public String getPath()

getSector

public Sector getSector()

getSize

public long getSize()

getSize

public long getSize(String path)

isElevation

public boolean isElevation()

isImagery

public boolean isImagery()

removeDirectory

protected static boolean removeDirectory(File directory)

setFallbackParams

protected static void setFallbackParams(Document dataConfig,
                                        String filename,
                                        AVList params)

NASA World Wind