Package org.apache.wicket.resource
Class Properties
- java.lang.Object
-
- org.apache.wicket.resource.Properties
-
public final class Properties extends java.lang.ObjectKind of like java.util.Properties but based on Wicket's ValueMap and thus benefiting from all its nice build-in type converters and without parent properties.- Author:
- Juergen Donnerstag
-
-
Field Summary
Fields Modifier and Type Field Description static PropertiesEMPTY_PROPERTIESEmpty Properties
-
Constructor Summary
Constructors Constructor Description Properties(java.lang.String key, org.apache.wicket.util.value.ValueMap strings)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.util.value.ValueMapgetAll()Get direct access to all values from the properties file.java.lang.StringgetString(java.lang.String key)Get the property value identified by its 'key'.java.lang.StringtoString()
-
-
-
Field Detail
-
EMPTY_PROPERTIES
public static final Properties EMPTY_PROPERTIES
Empty Properties
-
-
Method Detail
-
getAll
public final org.apache.wicket.util.value.ValueMap getAll()
Get direct access to all values from the properties file.- Returns:
- map
-
getString
public final java.lang.String getString(java.lang.String key)
Get the property value identified by its 'key'.- Parameters:
key-- Returns:
- property message
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-