public class Config extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
get(String key) |
String |
getApiKey() |
String |
getChachePrefixFromUrl() |
static String |
getChachePrefixFromUrl(URL server) |
String |
getServer() |
String[] |
getTags() |
String |
toString() |
void |
updateStaticSettings() |
public Config()
public Config(String config)
public void updateStaticSettings()
public String getApiKey()
public String getServer()
public String[] getTags()
public String getChachePrefixFromUrl() throws MalformedURLException
MalformedURLExceptionpublic static String getChachePrefixFromUrl(URL server) throws MalformedURLException
MalformedURLExceptionpublic String get(String key)
key - - Item name to be loaded from the config file.Copyright © 2019 Leiden University, NL. All rights reserved.