Package de.turnertech.thw.cop.trackers
Class TrackerToken
java.lang.Object
de.turnertech.thw.cop.trackers.TrackerToken
This class abstracts the storage and retrieval of Tracker and Token pairs from
the rest of the code.
-
Method Summary
Modifier and TypeMethodDescriptionentrySet()
static boolean
generateKey
(String opta) Will update the existing key if called on an existing OPTA!static boolean
static void
load()
Loads the stored tracker tokens from the directory configured inSettings
under the keySettings.DATA
.static void
save()
Saves the cached tracker tokens from the internal storage to the directory configured inSettings
under the keySettings.DATA
.
-
Method Details
-
exists
-
entrySet
- Returns:
- an entry set containing both the keys and values.
- See Also:
-
isValid
-
getKey
-
generateKey
Will update the existing key if called on an existing OPTA!- Parameters:
opta
-- Returns:
-
save
public static void save()Saves the cached tracker tokens from the internal storage to the directory configured inSettings
under the keySettings.DATA
. Note, that the file name is fixed. -
load
public static void load()Loads the stored tracker tokens from the directory configured inSettings
under the keySettings.DATA
. Note, that the file name is fixed.
-