Class EnvironmentReader

java.lang.Object
org.eclipse.cdt.utils.spawner.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 Details

    • EnvironmentReader

      public EnvironmentReader()
  • Method Details

    • 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.