Class Configuration


  • public class Configuration
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T getValue​(java.lang.String key, java.util.function.Function<java.lang.String,​T> parser, T def)
      Returns an object from the configuration dictionary.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Configuration

        public Configuration()
      • Configuration

        public Configuration​(java.util.Properties prefs)
    • Method Detail

      • getValue

        public <T> T getValue​(java.lang.String key,
                              java.util.function.Function<java.lang.String,​T> parser,
                              T def)
        Returns an object from the configuration dictionary. Can provide a default argument