Class FileStoreDataSet

  • All Implemented Interfaces:
    AVList

    public class FileStoreDataSet
    extends AVListImpl
    Represents one data set within a WorldWind filestore.
    • Field Detail

      • 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)