Class DatasetDesc

java.lang.Object
gaiasky.util.datadesc.DatasetDesc

public class DatasetDesc extends Object
  • Field Details

    • source

      public com.badlogic.gdx.utils.JsonValue source
    • key

      public String key
    • name

      public String name
    • description

      public String description
    • type

      public String type
    • file

      public String file
    • datasetType

      public DatasetType datasetType
    • status

    • checkPath

      public Path checkPath
    • checkStr

      public String checkStr
    • catalogFile

      public com.badlogic.gdx.files.FileHandle catalogFile
    • size

      public String size
    • sizeBytes

      public long sizeBytes
    • nObjectsStr

      public String nObjectsStr
    • nObjects

      public long nObjects
    • sha256

      public String sha256
    • exists

      public boolean exists
    • myVersion

      public int myVersion
    • serverVersion

      public int serverVersion
    • minGsVersion

      public int minGsVersion
    • outdated

      public boolean outdated
    • baseData

      public boolean baseData
    • releaseNotes

      public String releaseNotes
    • files

      public String[] files
    • server

      public DatasetDesc server
  • Constructor Details

    • DatasetDesc

      public DatasetDesc()
    • DatasetDesc

      public DatasetDesc(com.badlogic.gdx.utils.JsonReader reader, com.badlogic.gdx.utils.JsonValue source)
    • DatasetDesc

      public DatasetDesc(com.badlogic.gdx.utils.JsonReader reader, com.badlogic.gdx.utils.JsonValue source, com.badlogic.gdx.files.FileHandle localCatalogFile)
  • Method Details

    • filter

      public boolean filter(String filterText)
      Filters the dataset using a given text. It checks the filter against name, description, key and type.
      Parameters:
      filterText - The filter text.
      Returns:
      True if the filter passes, false otherwise.
    • isStarDataset

      public boolean isStarDataset()
    • getLocalCopy

      public DatasetDesc getLocalCopy()
    • copy

      public DatasetDesc copy()