org.apache.tools.ant.types
Class Environment
java.lang.Object
org.apache.tools.ant.types.Environment
public class Environment
extends java.lang.Object
Wrapper for environment variables.
protected Vector | variables - a vector of type Enviromment.Variable
|
Environment
public Environment()
constructor
addVariable
public void addVariable(Environment.Variable var)
add a variable.
Validity checking is not performed at this point. Duplicates
are not caught either.
var
- new variable.
getVariables
public String[] getVariables()
throws BuildException
get the variable list as an array
- array of key=value assignment strings
BuildException
- if any variable is misconfigured
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.