Class Environment


  • public class Environment
    extends java.lang.Object
    Wrapper around System.getenv(). Can be sub-classed to provide alternative means to retrieve environment variables.
    • Constructor Summary

      Constructors 
      Constructor Description
      Environment()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getVariable​(java.lang.String name)  
      java.util.Map<java.lang.String,​java.lang.String> getVariables()  
      • Methods inherited from class java.lang.Object

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

      • Environment

        public Environment()
    • Method Detail

      • getVariable

        public java.lang.String getVariable​(java.lang.String name)
      • getVariables

        public java.util.Map<java.lang.String,​java.lang.String> getVariables()