constructor variables = new Vector();
variables = new Vector();
add a variable. Validity checking is not performed at this point. Duplicates are not caught either.paramvar new variable. variables.addElement(var);
variables.addElement(var);
get the variable list as an arrayreturnarray of key=value assignment stringsthrowsBuildException if any variable is misconfigured if (variables.size() == 0) { return null; } String[] result = new String[variables.size()]; for (int i = 0; i < result.length; i++) { result[i] = ((Variable) variables.elementAt(i)).getContent(); } return result;
if (variables.size() == 0) { return null; } String[] result = new String[variables.size()]; for (int i = 0; i < result.length; i++) { result[i] = ((Variable) variables.elementAt(i)).getContent(); } return result;
Get the raw vector of variables. This is not a clone.returna potentially empty (but never null) vector of elements of type VariablesinceAnt 1.7 return variables;
return variables;