Class EnvironmentReader


  • public class EnvironmentReader
    extends Object
    This class provides OS owned environment variables supplied as Properties class.
    Restriction:
    This class is not intended to be subclassed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Constructor Detail

      • EnvironmentReader

        public EnvironmentReader()
    • Method Detail

      • getEnvVars

        public static Properties getEnvVars()
        Returns:
        a clone of the list of environment variables.
      • getEnvVar

        public static String getEnvVar​(String key)
        Parameters:
        key - - name of environment variable (without $ sign).
        Returns:
        value of environment variable.