Class PropertiesPropertySource

  • All Implemented Interfaces:
    org.togglz.core.repository.property.PropertySource

    public class PropertiesPropertySource
    extends Object
    implements org.togglz.core.repository.property.PropertySource
    PropertySource implementation for use with Properties.
    Author:
    Marcel Overdijk
    • Constructor Detail

      • PropertiesPropertySource

        public PropertiesPropertySource​(Properties properties)
    • Method Detail

      • reloadIfUpdated

        public void reloadIfUpdated()
        Specified by:
        reloadIfUpdated in interface org.togglz.core.repository.property.PropertySource
      • getKeysStartingWith

        public Set<String> getKeysStartingWith​(String prefix)
        Specified by:
        getKeysStartingWith in interface org.togglz.core.repository.property.PropertySource
      • getValue

        public String getValue​(String key,
                               String defaultValue)
        Specified by:
        getValue in interface org.togglz.core.repository.property.PropertySource
      • getEditor

        public org.togglz.core.repository.property.PropertySource.Editor getEditor()
        Specified by:
        getEditor in interface org.togglz.core.repository.property.PropertySource