public interface EnvironmentVariables
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String getValue(java.lang.String variable)
variable
- The name of the variable.void setValue(java.lang.String variable, java.lang.String value)
variable
- The name of the variable.value
- The value of the variable.void removeVariable(java.lang.String variable)
variable
- The name of the variable.boolean contains(java.lang.String variable)
variable
- The name of the variable.java.lang.String[] getVariableNames()