Package ej.property

Interface PropertyRegistry

    • Method Detail

      • setProperty

        @Nullable
        String setProperty​(String key,
                           String value)
        Sets a property that maps a key to a value.
        Parameters:
        key - the key.
        value - the value.
        Returns:
        the previous value of the property, or null if the property is not found.
        Throws:
        SecurityException - if a security manager exists and does not allow the caller to set the given property.
      • removeProperty

        @Nullable
        String removeProperty​(String key)
        Removes a property.
        Parameters:
        key - the key.
        Returns:
        the value of the property, or null if the property is not found.
        Throws:
        SecurityException - if a security manager exists and does not allow the caller to remove the given property.