Class EnvironmentVariableUtils


  • public final class EnvironmentVariableUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean readBooleanFlag​(java.lang.String variableName)  
      static java.lang.String readString​(java.lang.String variableName)  
      • Methods inherited from class java.lang.Object

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

      • readBooleanFlag

        public static boolean readBooleanFlag​(java.lang.String variableName)
        Returns:
        false if the environment variable is not set, "false" or "0". Otherwise, returns true.
      • readString

        @Nullable
        public static java.lang.String readString​(java.lang.String variableName)