Extension SDK 9.0.5

oracle.jdeveloper.vcs.util
Class VCSEnvironmentVars

java.lang.Object
  extended byoracle.jdeveloper.vcs.util.VCSEnvironmentVars

public final class VCSEnvironmentVars
extends java.lang.Object

Utility class for obtaining the values of shell environment variables. Note that the names of the defined variables are uppercase, and their lookup is also a case-insensitive operation.

Since:
9.0.5

Method Summary
static java.lang.String getVariable(java.lang.String name)
          Gets the value of the environment variable with the given name.
static java.util.Map getVariables()
          Gets all default process environment variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVariable

public static final java.lang.String getVariable(java.lang.String name)
Gets the value of the environment variable with the given name.

Returns:
the variable's current value, or null if the variable is not set.

getVariables

public static final java.util.Map getVariables()
Gets all default process environment variables.

Returns:
a map of all environment variables defined by default.

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.