com.plumtree.openfoundation.util
Class XPEnvironment

java.lang.Object
  extended bycom.plumtree.openfoundation.util.XPEnvironment

public class XPEnvironment
extends java.lang.Object

Allows read-access to the name:value mappings in the standard operating system environment, either individually or as an IXPDictionary of key:value pairs.


Constructor Summary
protected XPEnvironment()
          This class should not be instantiated.
 
Method Summary
static java.lang.String GetEnvironmentVariable(java.lang.String varName)
          Getter of value for a given environment variable.
static IXPDictionary GetEnvironmentVariables()
          Copies the name:value mappings in the operating system environment into a new IXPDictionary instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPEnvironment

protected XPEnvironment()
This class should not be instantiated.

Method Detail

GetEnvironmentVariables

public static IXPDictionary GetEnvironmentVariables()
Copies the name:value mappings in the operating system environment into a new IXPDictionary instance.

Returns:
IXPDictionary

GetEnvironmentVariable

public static java.lang.String GetEnvironmentVariable(java.lang.String varName)
Getter of value for a given environment variable.

Parameters:
varName - Variable for which the value to be retrieved.
Returns:
String value of the environmet variable.


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.