com.jniwrapper.win32.system
Interface EnvironmentVariables

All Known Implementing Classes:
ProcessVariables, SystemVariables

public interface EnvironmentVariables

Class EnvironmentVariables.


Method Summary
 boolean contains(java.lang.String variable)
          Verifies if there is a specified variable in the environment.
 java.lang.String getValue(java.lang.String variable)
          Returns the value of the specified variable
 java.lang.String[] getVariableNames()
          Returns an array of the variable names.
 void removeVariable(java.lang.String variable)
          Removes specified variable.
 void setValue(java.lang.String variable, java.lang.String value)
          Sets the value of the specified variable.
 

Method Detail

getValue

java.lang.String getValue(java.lang.String variable)
Returns the value of the specified variable

Parameters:
variable - The name of the variable.
Returns:
a value for the variable.

setValue

void setValue(java.lang.String variable,
              java.lang.String value)
Sets the value of the specified variable.

Parameters:
variable - The name of the variable.
value - The value of the variable.

removeVariable

void removeVariable(java.lang.String variable)
Removes specified variable.

Parameters:
variable - The name of the variable.

contains

boolean contains(java.lang.String variable)
Verifies if there is a specified variable in the environment.

Parameters:
variable - The name of the variable.
Returns:
TRUE, if the specified variable exists in the environment; otherwise FALSE.

getVariableNames

java.lang.String[] getVariableNames()
Returns an array of the variable names.

Returns:
An array of the variable names.