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 WorldWind filestore.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
configFilePath
protected java.lang.String
dataSetPath
static java.lang.String
ELEVATION
protected java.lang.String
filestorePath
static java.lang.String
IMAGERY
-
Constructor Summary
Constructors Constructor Description FileStoreDataSet(java.lang.String filestorePath, java.lang.String dataSetPath, java.lang.String configFilePath)
Constructs a new filestore data set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attachMetadata()
void
delete()
Delete an installed data set.java.awt.Color
getColor()
java.lang.String
getDatasetType()
java.lang.String
getName()
java.lang.String
getPath()
Sector
getSector()
long
getSize()
long
getSize(java.lang.String path)
boolean
isElevation()
boolean
isImagery()
protected static boolean
removeDirectory(java.io.File directory)
protected static void
setFallbackParams(org.w3c.dom.Document dataConfig, java.lang.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
-
-
-
-
Field Detail
-
IMAGERY
public static final java.lang.String IMAGERY
- See Also:
- Constant Field Values
-
ELEVATION
public static final java.lang.String ELEVATION
- See Also:
- Constant Field Values
-
dataSetPath
protected final java.lang.String dataSetPath
-
filestorePath
protected final java.lang.String filestorePath
-
configFilePath
protected final java.lang.String configFilePath
-
-
Constructor Detail
-
FileStoreDataSet
public FileStoreDataSet(java.lang.String filestorePath, java.lang.String dataSetPath, java.lang.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
-
getPath
public java.lang.String getPath()
-
getName
public java.lang.String getName()
-
getDatasetType
public java.lang.String getDatasetType()
-
isImagery
public boolean isImagery()
-
isElevation
public boolean isElevation()
-
getSector
public Sector getSector()
-
getColor
public java.awt.Color getColor()
-
getSize
public long getSize()
-
getSize
public long getSize(java.lang.String path)
-
attachMetadata
protected void attachMetadata()
-
setFallbackParams
protected static void setFallbackParams(org.w3c.dom.Document dataConfig, java.lang.String filename, AVList params)
-
delete
public void delete()
Delete an installed data set.
-
removeDirectory
protected static boolean removeDirectory(java.io.File directory)
-
-