Class DatasetDesc
java.lang.Object
gaiasky.util.datadesc.DatasetDesc
- All Implemented Interfaces:
Comparable<DatasetDesc>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDatasetDesc(com.badlogic.gdx.utils.JsonReader reader, com.badlogic.gdx.utils.JsonValue source) DatasetDesc(com.badlogic.gdx.utils.JsonReader reader, com.badlogic.gdx.utils.JsonValue source, com.badlogic.gdx.files.FileHandle localCatalogFile) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(DatasetDesc other) copy()booleanFilters the dataset using a given text.boolean
-
Field Details
-
source
public com.badlogic.gdx.utils.JsonValue source -
key
-
name
-
description
-
links
-
credits
-
creator
-
type
-
file
-
datasetType
-
status
-
checkPath
-
checkStr
-
catalogFile
public com.badlogic.gdx.files.FileHandle catalogFile -
size
-
sizeBytes
public long sizeBytes -
nObjectsStr
-
nObjects
public long nObjects -
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
-
files
-
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
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
-
copy
-
compareTo
- Specified by:
compareToin interfaceComparable<DatasetDesc>
-