|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.types.Environment | +--org.apache.tools.ant.types.CommandlineJava.SysProperties
Specialized Environment class for System properties
Nested Class Summary |
Nested classes inherited from class org.apache.tools.ant.types.Environment |
Environment.Variable |
Field Summary |
Fields inherited from class org.apache.tools.ant.types.Environment |
variables |
Constructor Summary | |
CommandlineJava.SysProperties()
|
Method Summary | |
void |
addDefinitionsToList(java.util.ListIterator listIt)
add all definitions (including property sets) to a list |
void |
addSyspropertyset(PropertySet ps)
add a propertyset to the total set |
java.lang.Object |
clone()
deep clone |
java.lang.String[] |
getVariables()
get the properties as an array; this is an override of the superclass, as it evaluates all the properties |
void |
restoreSystem()
restore the system properties to the cached value |
void |
setSystem()
cache the system properties and set the system properties to the new values |
int |
size()
This method gets the size of the sysproperties instance. |
Methods inherited from class org.apache.tools.ant.types.Environment |
addVariable |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandlineJava.SysProperties()
Method Detail |
public java.lang.String[] getVariables() throws BuildException
getVariables
in class Environment
BuildException
public void addDefinitionsToList(java.util.ListIterator listIt)
listIt
- list iterator supporting add methodpublic int size()
public void setSystem() throws BuildException
BuildException
- if Security prevented this operationpublic void restoreSystem() throws BuildException
BuildException
- if Security prevented this operation, or
there was no system properties to restorepublic java.lang.Object clone()
clone
in class java.lang.Object
public void addSyspropertyset(PropertySet ps)
ps
- the new property set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |