gov.nasa.worldwindx.applications.dataimporter
Class FileStoreDataSet
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwindx.applications.dataimporter.FileStoreDataSet
- All Implemented Interfaces:
- AVList
public class FileStoreDataSet
- extends AVListImpl
Represents one data set within a World Wind filestore.
| 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 |
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
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.
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)