Class AbstractConfigLookup

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getBoolean​(java.lang.String key, boolean defaultValue)  
      double getDouble​(java.lang.String key, double defaultValue)  
      int getInt​(java.lang.String key, int defaultValue)  
      long getLong​(java.lang.String key, long defaultValue)  
      protected abstract java.lang.String getProperty​(java.lang.String property)  
      java.lang.String getString​(java.lang.String key, java.lang.String defaultValue)  
      • Methods inherited from class java.lang.Object

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

      • AbstractConfigLookup

        public AbstractConfigLookup()
    • Method Detail

      • getProperty

        protected abstract java.lang.String getProperty​(java.lang.String property)
      • getInt

        public int getInt​(java.lang.String key,
                          int defaultValue)
        Specified by:
        getInt in interface ConfigLookup
      • getLong

        public long getLong​(java.lang.String key,
                            long defaultValue)
        Specified by:
        getLong in interface ConfigLookup
      • getDouble

        public double getDouble​(java.lang.String key,
                                double defaultValue)
        Specified by:
        getDouble in interface ConfigLookup
      • getBoolean

        public boolean getBoolean​(java.lang.String key,
                                  boolean defaultValue)
        Specified by:
        getBoolean in interface ConfigLookup
      • getString

        public java.lang.String getString​(java.lang.String key,
                                          java.lang.String defaultValue)
        Specified by:
        getString in interface ConfigLookup