(.js)
laraImport("lara.util.DataStore");
(.lara)
import lara.util.DataStore;
new DataStore(data, definition)
Interface with Java class DataStore, used for storing arbitrary information.
addAlias(key, alias)
copy()
disableKeyChecking()
get(key)
getConfigurationFile()
getConfigurationFolder()
getContextFolder()
The folder that is considered the working folder of the current context.
1) If a configuration file was used, returns the path of the configuration file;
2) Otherwise, returns the folder from where the weaver was launched.
getData()
getKeys()
getType(key)
hasValue(key)
Checks if the given key has an associated value in the DataStore.
load(fileOrBaseFolder, optionalFile)
put(key, value)
Store the given value with the given key.
save(fileOrBaseFolder, optionalFile)