Interface IDictionary

All Superinterfaces:
ConfigurationItem, Serializable
All Known Subinterfaces:
IEncryptedDictionary
All Known Implementing Classes:
AbstractDictionary, Dictionary, EncryptedDictionary

public interface IDictionary extends ConfigurationItem
Provide methods to get a value by key from a storage.
  • Method Details

    • getValue

      String getValue(String key)
      Parameters:
      key - The key of a dictionary entry.
      Returns:
      The value associated with the given key.
    • getEntries

      Map<String,String> getEntries()
      Returns:
      The dictionary entries.
    • applyTo

      Return a view on this dictionary as applicable to the given context.
      Parameters:
      context - The context to generate the view for.
      Returns:
      a dictionary tailored for the given context. Can be this if no adjustments are required or null if the dictionary is not applicable to the given context.