| java.lang.Object org.polepos.framework.PropertiesHandler
PropertiesHandler | public class PropertiesHandler (Code) | | author: Herkules |
Method Summary | |
public String | get(String key) | public String | get(String key, String defaultValue) | public String[] | getArray(String key) retrieve an array that might be formatted like 1,2,3 or [1,2,3] or 1 2 3 or 1;2;3 ... | public boolean | getBoolean(String key) | public int[] | getIntArray(String key) retrieve an array that might be formatted like 1,2,3 or [1,2,3] or 1 2 3 or 1;2;3 ... | public Properties | getProperties() Retrieve the properties object handled here. | public boolean | load() Load default and custom settings. | public void | put(String key, String value) | public boolean | save() Persist the custom settings. |
PropertiesHandler | public PropertiesHandler(String propertiesname)(Code) | | Creates a new instance of BenchmarkSettings.
|
getArray | public String[] getArray(String key)(Code) | | retrieve an array that might be formatted like 1,2,3 or [1,2,3] or 1 2 3 or 1;2;3 ...
|
getBoolean | public boolean getBoolean(String key)(Code) | | retrieve a flag
|
getIntArray | public int[] getIntArray(String key)(Code) | | retrieve an array that might be formatted like 1,2,3 or [1,2,3] or 1 2 3 or 1;2;3 ...
|
getProperties | public Properties getProperties()(Code) | | Retrieve the properties object handled here.
|
load | public boolean load()(Code) | | Load default and custom settings.
|
save | public boolean save()(Code) | | Persist the custom settings.
|
|
|