| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.Environment
org.apache.tools.ant.types.CommandlineJava.SysProperties
public static class CommandlineJava.SysProperties
Specialized Environment class for System properties.
| Nested Class Summary | 
|---|
| Nested classes/interfaces 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<java.lang.String> listIt)Add all definitions (including property sets) to a list. | 
|  void | addSysproperties(CommandlineJava.SysProperties ps)Add a propertyset to the total set. | 
|  void | addSyspropertyset(PropertySet ps)Add a propertyset to the total set. | 
|  java.lang.Object | clone()Create a 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()Get the size of the sysproperties instance. | 
| Methods inherited from class org.apache.tools.ant.types.Environment | 
|---|
| addVariable, getVariablesVector | 
| 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 EnvironmentBuildException - on error.public void addDefinitionsToList(java.util.ListIterator<java.lang.String> listIt)
listIt - list iterator supporting add method.public int size()
public void setSystem()
               throws BuildException
BuildException - if Security prevented this operation.
public void restoreSystem()
                   throws BuildException
BuildException - if Security prevented this operation, or
 there were no system properties to restore.
public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - for signature.public void addSyspropertyset(PropertySet ps)
ps - the new property set.public void addSysproperties(CommandlineJava.SysProperties ps)
ps - the new property set.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||