1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:32 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | CommandlineJava.SysProperties (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.CommandlineJava.SysProperties class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="CommandlineJava.SysProperties (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="CommandlineJava.SysProperties.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.tools.ant.types.Environment">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.types.Environment">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.types</FONT>
|
---|
85 | <BR>
|
---|
86 | Class CommandlineJava.SysProperties</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/types/Environment.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.Environment</A>
|
---|
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.CommandlineJava.SysProperties</B>
|
---|
91 | </PRE>
|
---|
92 | <DL>
|
---|
93 | <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
|
---|
94 | </DL>
|
---|
95 | <DL>
|
---|
96 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.html" title="class in org.apache.tools.ant.types">CommandlineJava</A></DD>
|
---|
97 | </DL>
|
---|
98 | <HR>
|
---|
99 | <DL>
|
---|
100 | <DT>public static class <B>CommandlineJava.SysProperties</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/types/Environment.html" title="class in org.apache.tools.ant.types">Environment</A><DT>implements java.lang.Cloneable</DL>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | Specialized Environment class for System properties
|
---|
104 | <P>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <HR>
|
---|
108 |
|
---|
109 | <P>
|
---|
110 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
111 |
|
---|
112 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
113 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
114 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
115 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
116 | <B>Nested Class Summary</B></FONT></TD>
|
---|
117 | </TR>
|
---|
118 | </TABLE>
|
---|
119 | <A NAME="nested_classes_inherited_from_class_org.apache.tools.ant.types.Environment"><!-- --></A>
|
---|
120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
121 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
122 | <TD><B>Nested classes inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/Environment.html" title="class in org.apache.tools.ant.types">Environment</A></B></TD>
|
---|
123 | </TR>
|
---|
124 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
125 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/Environment.Variable.html" title="class in org.apache.tools.ant.types">Environment.Variable</A></CODE></TD>
|
---|
126 | </TR>
|
---|
127 | </TABLE>
|
---|
128 |
|
---|
129 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
130 |
|
---|
131 | <A NAME="field_summary"><!-- --></A>
|
---|
132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
134 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
135 | <B>Field Summary</B></FONT></TD>
|
---|
136 | </TR>
|
---|
137 | </TABLE>
|
---|
138 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.Environment"><!-- --></A>
|
---|
139 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
140 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
141 | <TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/Environment.html" title="class in org.apache.tools.ant.types">Environment</A></B></TD>
|
---|
142 | </TR>
|
---|
143 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
144 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/Environment.html#variables">variables</A></CODE></TD>
|
---|
145 | </TR>
|
---|
146 | </TABLE>
|
---|
147 |
|
---|
148 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
149 |
|
---|
150 | <A NAME="constructor_summary"><!-- --></A>
|
---|
151 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
152 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
153 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
154 | <B>Constructor Summary</B></FONT></TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#CommandlineJava.SysProperties()">CommandlineJava.SysProperties</A></B>()</CODE>
|
---|
158 |
|
---|
159 | <BR>
|
---|
160 | </TD>
|
---|
161 | </TR>
|
---|
162 | </TABLE>
|
---|
163 |
|
---|
164 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
165 |
|
---|
166 | <A NAME="method_summary"><!-- --></A>
|
---|
167 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
168 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
169 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
170 | <B>Method Summary</B></FONT></TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE> void</CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#addDefinitionsToList(java.util.ListIterator)">addDefinitionsToList</A></B>(java.util.ListIterator listIt)</CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | add all definitions (including property sets) to a list</TD>
|
---|
179 | </TR>
|
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
182 | <CODE> void</CODE></FONT></TD>
|
---|
183 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#addSysproperties(org.apache.tools.ant.types.CommandlineJava.SysProperties)">addSysproperties</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html" title="class in org.apache.tools.ant.types">CommandlineJava.SysProperties</A> ps)</CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | add a propertyset to the total set</TD>
|
---|
187 | </TR>
|
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
190 | <CODE> void</CODE></FONT></TD>
|
---|
191 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#addSyspropertyset(org.apache.tools.ant.types.PropertySet)">addSyspropertyset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/PropertySet.html" title="class in org.apache.tools.ant.types">PropertySet</A> ps)</CODE>
|
---|
192 |
|
---|
193 | <BR>
|
---|
194 | add a propertyset to the total set</TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
198 | <CODE> java.lang.Object</CODE></FONT></TD>
|
---|
199 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#clone()">clone</A></B>()</CODE>
|
---|
200 |
|
---|
201 | <BR>
|
---|
202 | deep clone</TD>
|
---|
203 | </TR>
|
---|
204 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
206 | <CODE> java.lang.String[]</CODE></FONT></TD>
|
---|
207 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#getVariables()">getVariables</A></B>()</CODE>
|
---|
208 |
|
---|
209 | <BR>
|
---|
210 | get the properties as an array; this is an override of the
|
---|
211 | superclass, as it evaluates all the properties</TD>
|
---|
212 | </TR>
|
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
215 | <CODE> void</CODE></FONT></TD>
|
---|
216 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#restoreSystem()">restoreSystem</A></B>()</CODE>
|
---|
217 |
|
---|
218 | <BR>
|
---|
219 | restore the system properties to the cached value</TD>
|
---|
220 | </TR>
|
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
223 | <CODE> void</CODE></FONT></TD>
|
---|
224 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#setSystem()">setSystem</A></B>()</CODE>
|
---|
225 |
|
---|
226 | <BR>
|
---|
227 | cache the system properties and set the system properties to the
|
---|
228 | new values</TD>
|
---|
229 | </TR>
|
---|
230 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
232 | <CODE> int</CODE></FONT></TD>
|
---|
233 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html#size()">size</A></B>()</CODE>
|
---|
234 |
|
---|
235 | <BR>
|
---|
236 | This method gets the size of the sysproperties instance.</TD>
|
---|
237 | </TR>
|
---|
238 | </TABLE>
|
---|
239 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.Environment"><!-- --></A>
|
---|
240 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
241 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
242 | <TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/Environment.html" title="class in org.apache.tools.ant.types">Environment</A></B></TD>
|
---|
243 | </TR>
|
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
245 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/Environment.html#addVariable(org.apache.tools.ant.types.Environment.Variable)">addVariable</A></CODE></TD>
|
---|
246 | </TR>
|
---|
247 | </TABLE>
|
---|
248 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
249 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
250 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
251 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
252 | </TR>
|
---|
253 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
254 | <TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
255 | </TR>
|
---|
256 | </TABLE>
|
---|
257 |
|
---|
258 | <P>
|
---|
259 |
|
---|
260 | <!-- ============ FIELD DETAIL =========== -->
|
---|
261 |
|
---|
262 |
|
---|
263 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
264 |
|
---|
265 | <A NAME="constructor_detail"><!-- --></A>
|
---|
266 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
267 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
268 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
269 | <B>Constructor Detail</B></FONT></TD>
|
---|
270 | </TR>
|
---|
271 | </TABLE>
|
---|
272 |
|
---|
273 | <A NAME="CommandlineJava.SysProperties()"><!-- --></A><H3>
|
---|
274 | CommandlineJava.SysProperties</H3>
|
---|
275 | <PRE>
|
---|
276 | public <B>CommandlineJava.SysProperties</B>()</PRE>
|
---|
277 | <DL>
|
---|
278 | </DL>
|
---|
279 |
|
---|
280 | <!-- ============ METHOD DETAIL ========== -->
|
---|
281 |
|
---|
282 | <A NAME="method_detail"><!-- --></A>
|
---|
283 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
284 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
285 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
286 | <B>Method Detail</B></FONT></TD>
|
---|
287 | </TR>
|
---|
288 | </TABLE>
|
---|
289 |
|
---|
290 | <A NAME="getVariables()"><!-- --></A><H3>
|
---|
291 | getVariables</H3>
|
---|
292 | <PRE>
|
---|
293 | public java.lang.String[] <B>getVariables</B>()
|
---|
294 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
295 | <DL>
|
---|
296 | <DD>get the properties as an array; this is an override of the
|
---|
297 | superclass, as it evaluates all the properties
|
---|
298 | <P>
|
---|
299 | <DD><DL>
|
---|
300 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/Environment.html#getVariables()">getVariables</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/Environment.html" title="class in org.apache.tools.ant.types">Environment</A></CODE></DL>
|
---|
301 | </DD>
|
---|
302 | <DD><DL>
|
---|
303 |
|
---|
304 | <DT><B>Returns:</B><DD>the array of definitions; may be null
|
---|
305 | <DT><B>Throws:</B>
|
---|
306 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
307 | </DD>
|
---|
308 | </DL>
|
---|
309 | <HR>
|
---|
310 |
|
---|
311 | <A NAME="addDefinitionsToList(java.util.ListIterator)"><!-- --></A><H3>
|
---|
312 | addDefinitionsToList</H3>
|
---|
313 | <PRE>
|
---|
314 | public void <B>addDefinitionsToList</B>(java.util.ListIterator listIt)</PRE>
|
---|
315 | <DL>
|
---|
316 | <DD>add all definitions (including property sets) to a list
|
---|
317 | <P>
|
---|
318 | <DD><DL>
|
---|
319 | </DL>
|
---|
320 | </DD>
|
---|
321 | <DD><DL>
|
---|
322 | <DT><B>Parameters:</B><DD><CODE>listIt</CODE> - list iterator supporting add method</DL>
|
---|
323 | </DD>
|
---|
324 | </DL>
|
---|
325 | <HR>
|
---|
326 |
|
---|
327 | <A NAME="size()"><!-- --></A><H3>
|
---|
328 | size</H3>
|
---|
329 | <PRE>
|
---|
330 | public int <B>size</B>()</PRE>
|
---|
331 | <DL>
|
---|
332 | <DD>This method gets the size of the sysproperties instance. This merges all
|
---|
333 | property sets, so is not an O(1) operation.
|
---|
334 | <P>
|
---|
335 | <DD><DL>
|
---|
336 | </DL>
|
---|
337 | </DD>
|
---|
338 | <DD><DL>
|
---|
339 |
|
---|
340 | <DT><B>Returns:</B><DD>the size of the sysproperties instance</DL>
|
---|
341 | </DD>
|
---|
342 | </DL>
|
---|
343 | <HR>
|
---|
344 |
|
---|
345 | <A NAME="setSystem()"><!-- --></A><H3>
|
---|
346 | setSystem</H3>
|
---|
347 | <PRE>
|
---|
348 | public void <B>setSystem</B>()
|
---|
349 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
350 | <DL>
|
---|
351 | <DD>cache the system properties and set the system properties to the
|
---|
352 | new values
|
---|
353 | <P>
|
---|
354 | <DD><DL>
|
---|
355 | </DL>
|
---|
356 | </DD>
|
---|
357 | <DD><DL>
|
---|
358 |
|
---|
359 | <DT><B>Throws:</B>
|
---|
360 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if Security prevented this operation</DL>
|
---|
361 | </DD>
|
---|
362 | </DL>
|
---|
363 | <HR>
|
---|
364 |
|
---|
365 | <A NAME="restoreSystem()"><!-- --></A><H3>
|
---|
366 | restoreSystem</H3>
|
---|
367 | <PRE>
|
---|
368 | public void <B>restoreSystem</B>()
|
---|
369 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
370 | <DL>
|
---|
371 | <DD>restore the system properties to the cached value
|
---|
372 | <P>
|
---|
373 | <DD><DL>
|
---|
374 | </DL>
|
---|
375 | </DD>
|
---|
376 | <DD><DL>
|
---|
377 |
|
---|
378 | <DT><B>Throws:</B>
|
---|
379 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if Security prevented this operation, or
|
---|
380 | there was no system properties to restore</DL>
|
---|
381 | </DD>
|
---|
382 | </DL>
|
---|
383 | <HR>
|
---|
384 |
|
---|
385 | <A NAME="clone()"><!-- --></A><H3>
|
---|
386 | clone</H3>
|
---|
387 | <PRE>
|
---|
388 | public java.lang.Object <B>clone</B>()
|
---|
389 | throws java.lang.CloneNotSupportedException</PRE>
|
---|
390 | <DL>
|
---|
391 | <DD>deep clone
|
---|
392 | <P>
|
---|
393 | <DD><DL>
|
---|
394 | </DL>
|
---|
395 | </DD>
|
---|
396 | <DD><DL>
|
---|
397 |
|
---|
398 | <DT><B>Returns:</B><DD>a cloned instance of SysProperties
|
---|
399 | <DT><B>Throws:</B>
|
---|
400 | <DD><CODE>java.lang.CloneNotSupportedException</CODE> - for signature</DL>
|
---|
401 | </DD>
|
---|
402 | </DL>
|
---|
403 | <HR>
|
---|
404 |
|
---|
405 | <A NAME="addSyspropertyset(org.apache.tools.ant.types.PropertySet)"><!-- --></A><H3>
|
---|
406 | addSyspropertyset</H3>
|
---|
407 | <PRE>
|
---|
408 | public void <B>addSyspropertyset</B>(<A HREF="../../../../../org/apache/tools/ant/types/PropertySet.html" title="class in org.apache.tools.ant.types">PropertySet</A> ps)</PRE>
|
---|
409 | <DL>
|
---|
410 | <DD>add a propertyset to the total set
|
---|
411 | <P>
|
---|
412 | <DD><DL>
|
---|
413 | </DL>
|
---|
414 | </DD>
|
---|
415 | <DD><DL>
|
---|
416 | <DT><B>Parameters:</B><DD><CODE>ps</CODE> - the new property set</DL>
|
---|
417 | </DD>
|
---|
418 | </DL>
|
---|
419 | <HR>
|
---|
420 |
|
---|
421 | <A NAME="addSysproperties(org.apache.tools.ant.types.CommandlineJava.SysProperties)"><!-- --></A><H3>
|
---|
422 | addSysproperties</H3>
|
---|
423 | <PRE>
|
---|
424 | public void <B>addSysproperties</B>(<A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html" title="class in org.apache.tools.ant.types">CommandlineJava.SysProperties</A> ps)</PRE>
|
---|
425 | <DL>
|
---|
426 | <DD>add a propertyset to the total set
|
---|
427 | <P>
|
---|
428 | <DD><DL>
|
---|
429 | </DL>
|
---|
430 | </DD>
|
---|
431 | <DD><DL>
|
---|
432 | <DT><B>Parameters:</B><DD><CODE>ps</CODE> - the new property set<DT><B>Since:</B></DT>
|
---|
433 | <DD>Ant 1.6.3</DD>
|
---|
434 | </DL>
|
---|
435 | </DD>
|
---|
436 | </DL>
|
---|
437 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
438 | <HR>
|
---|
439 |
|
---|
440 |
|
---|
441 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
442 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
443 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
444 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
445 | <TR>
|
---|
446 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
447 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
448 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
449 | <TR ALIGN="center" VALIGN="top">
|
---|
450 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
451 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
452 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
453 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
454 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
455 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
456 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
457 | </TR>
|
---|
458 | </TABLE>
|
---|
459 | </TD>
|
---|
460 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
461 | </EM>
|
---|
462 | </TD>
|
---|
463 | </TR>
|
---|
464 |
|
---|
465 | <TR>
|
---|
466 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
467 | <A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
468 | <A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
469 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
470 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
471 | <A HREF="CommandlineJava.SysProperties.html" target="_top"><B>NO FRAMES</B></A>
|
---|
472 | <SCRIPT type="text/javascript">
|
---|
473 | <!--
|
---|
474 | if(window==top) {
|
---|
475 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
476 | }
|
---|
477 | //-->
|
---|
478 | </SCRIPT>
|
---|
479 | <NOSCRIPT>
|
---|
480 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
481 | </NOSCRIPT>
|
---|
482 |
|
---|
483 | </FONT></TD>
|
---|
484 | </TR>
|
---|
485 | <TR>
|
---|
486 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
487 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.tools.ant.types.Environment">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.types.Environment">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
488 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
489 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
490 | </TR>
|
---|
491 | </TABLE>
|
---|
492 | <A NAME="skip-navbar_bottom"></A>
|
---|
493 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
494 |
|
---|
495 | <HR>
|
---|
496 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
497 | </BODY>
|
---|
498 | </HTML>
|
---|