Package gaiasky.util.datadesc
Class DatasetDesc
java.lang.Object
gaiasky.util.datadesc.DatasetDesc
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionboolean
com.badlogic.gdx.files.FileHandle
boolean
String[]
int
int
long
boolean
int
long
com.badlogic.gdx.utils.JsonValue
-
Constructor Summary
ConstructorDescriptionDatasetDesc
(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
-
Field Details
-
source
public com.badlogic.gdx.utils.JsonValue source -
key
-
name
-
description
-
link
-
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
-