Interface SimpleConfiguration

    • Method Detail

      • get

        String get​(String key)
        Returns the value to which the specified key is mapped, or null if there is no mapping for the key.
        Parameters:
        key - the key whose associated value is to be returned
      • get

        String get​(String key,
                   String defaultValue)
        Returns the value to which the specified key is mapped, or the given default value if there is no mapping for the key.
        Parameters:
        key - the key whose associated value is to be returned
        defaultValue - the value returned if there is no mapping for the key
      • put

        String put​(String key,
                   String value)
        Associates the specified value with the specified key.

        If the map previously contained a mapping for the key, the old value is replaced by the specified value.

        Parameters:
        key - key with which the specified value is to be associated
        value - value to be associated with the specified key
        Returns:
        the previous value associated with key, or null if there was no mapping for key.
      • putAll

        void putAll​(Map<String,​String> parameters)
        Copies all of the parameters from the specified map to this Simple configuration
        Parameters:
        parameters - parameters to be stored in this Simple configuration