Package org.apache.log4j.chainsaw.prefs
Class LoadSettingsEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.log4j.chainsaw.prefs.SettingsEvent
-
- org.apache.log4j.chainsaw.prefs.LoadSettingsEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class LoadSettingsEvent extends SettingsEvent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Properties
properties
-
Constructor Summary
Constructors Constructor Description LoadSettingsEvent(java.lang.Object source, java.util.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
asBoolean(java.lang.String key)
int
asInt(java.lang.String key)
java.lang.String
getSetting(java.lang.String key)
java.util.Collection
getSettingsStartingWith(java.lang.String string)
Returns an unmodifiable Collection of values whose setting key begins (String.startsWith()) the specified string.
-
-
-
Method Detail
-
getSetting
public java.lang.String getSetting(java.lang.String key)
-
asBoolean
public boolean asBoolean(java.lang.String key)
-
asInt
public int asInt(java.lang.String key)
-
getSettingsStartingWith
public java.util.Collection getSettingsStartingWith(java.lang.String string)
Returns an unmodifiable Collection of values whose setting key begins (String.startsWith()) the specified string.- Parameters:
string
-
-
-