Skip navigation links


com.essbase.eas.utils
Class Environment

java.lang.Object
  extended by com.essbase.eas.utils.Environment


public class Environment
extends java.lang.Object

Constructor Summary
Environment()
           

 

Method Summary
static java.lang.String getEncryptionKey()
           
static java.lang.String getenv(java.lang.String key)
          Get an environment variable.
static int putenv(java.lang.String envSetting)
          Sets or modifies an environment variable.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Environment

public Environment()

Method Detail

putenv

public static int putenv(java.lang.String envSetting)
Sets or modifies an environment variable.
Parameters:
envSetting - the setting to change. The setting is of the form NAME=VALUE
Returns:
0 on sucess or -1 on failure.

getenv

public static java.lang.String getenv(java.lang.String key)
Get an environment variable.

Retrieves the environment variable from the C Runtime Library copy of the environment. Does not change the command processor environment

Parameters:
key -
Returns:
0 on success or -1 on failure

getEncryptionKey

public static java.lang.String getEncryptionKey()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.