Class EnvProperties

    • Constructor Detail

      • EnvProperties

        public EnvProperties()
      • EnvProperties

        public EnvProperties​(Properties defaults)
    • Method Detail

      • get

        public Object get​(Object key)
        Environnement variables can't contains dot (bash, csh, ...). Dots are replaced by underscore (_) to find property if property is not find with dot
        Specified by:
        get in interface Map<Object,​Object>
        Overrides:
        get in class Properties
      • getProperty

        public String getProperty​(String key)
        override to use get(key) and not super.get(key) as in initial implementation :(
        Overrides:
        getProperty in class Properties