- java.lang.Object
-
- util.settings.PropertyBasedSettings
-
public class PropertyBasedSettings extends java.lang.Object
- Author:
- bananeweizen
-
-
Constructor Summary
Constructors Constructor Description PropertyBasedSettings(java.util.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
get(java.lang.String key)
protected boolean
get(java.lang.String key, boolean defaultValue)
protected int
get(java.lang.String key, int defaultValue)
protected java.lang.String
get(java.lang.String key, java.lang.String defaultValue)
protected java.lang.String[]
get(java.lang.String key, java.lang.String[] defaultValue)
protected void
remove(java.lang.String key)
protected void
set(java.lang.String key, boolean value)
protected void
set(java.lang.String key, int value)
protected void
set(java.lang.String key, java.lang.String value)
protected void
set(java.lang.String key, java.lang.String[] value)
java.util.Properties
storeSettings()
-
-
-
Method Detail
-
storeSettings
public java.util.Properties storeSettings()
-
remove
protected void remove(java.lang.String key)
-
get
protected java.lang.String get(java.lang.String key)
-
get
protected java.lang.String get(java.lang.String key, java.lang.String defaultValue)
-
set
protected void set(java.lang.String key, java.lang.String value)
-
get
protected boolean get(java.lang.String key, boolean defaultValue)
-
set
protected void set(java.lang.String key, boolean value)
-
get
protected int get(java.lang.String key, int defaultValue)
-
set
protected void set(java.lang.String key, int value)
-
set
protected void set(java.lang.String key, java.lang.String[] value)
-
get
protected java.lang.String[] get(java.lang.String key, java.lang.String[] defaultValue)
-
-