Class Properties


  • public final class Properties
    extends Object
    Kind 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 Detail

      • EMPTY_PROPERTIES

        public static final Properties EMPTY_PROPERTIES
        Empty Properties
    • Constructor Detail

      • Properties

        public Properties​(String key,
                          org.apache.wicket.util.value.ValueMap strings)
        Construct
        Parameters:
        key - The key
        strings - Properties values
    • 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 String getString​(String key)
        Get the property value identified by its 'key'.
        Parameters:
        key -
        Returns:
        property message