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
MalformedURLException
public static String getChachePrefixFromUrl(URL server) throws MalformedURLException
MalformedURLException
public String get(String key)
key
- - Item name to be loaded from the config file.Copyright © 2019 Leiden University, NL. All rights reserved.