|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.jwall.rbl.data.RblSettings
public class RblSettings
This class provides a container for basic settings for the RblServer. The class basically is just Java Properties class extended by a set of default settings.
| Field Summary |
|---|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
RblSettings()
Creates a new set of default settings. |
|
| Method Summary | |
|---|---|
static RblSettings |
getDefaults()
This static method returns the set of default properties for any RblServer. |
static RblSettings |
read(String file)
This method reads properties from the given file. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RblSettings()
| Method Detail |
|---|
public static RblSettings getDefaults()
public static RblSettings read(String file)
throws Exception
This method reads properties from the given file. It will determine the
default settings by the method getDefaults() and override
all properties found in the given file.
In a addition to that, the system properties are checked as well. Any system property, e.g. set using
java ... -Drbl.domain=rbl.localnet ...
will override properties found in the defaults or in the specified settings file.
file -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||