Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1777 | jmachado | 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.5.0_09) on Thu Nov 02 11:46:42 EST 2006 --> |
||
6 | <TITLE> |
||
7 | OsFamily (Ant Contrib) |
||
8 | </TITLE> |
||
9 | |||
10 | <META NAME="keywords" CONTENT="net.sf.antcontrib.platform.OsFamily 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="OsFamily (Ant Contrib)"; |
||
18 | } |
||
19 | </SCRIPT> |
||
20 | <NOSCRIPT> |
||
21 | </NOSCRIPT> |
||
22 | |||
23 | </HEAD> |
||
24 | |||
25 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
26 | |||
27 | |||
28 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
29 | <A NAME="navbar_top"><!-- --></A> |
||
30 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
31 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
32 | <TR> |
||
33 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
34 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
35 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
36 | <TR ALIGN="center" VALIGN="top"> |
||
37 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
39 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
44 | </TR> |
||
45 | </TABLE> |
||
46 | </TD> |
||
47 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
48 | </EM> |
||
49 | </TD> |
||
50 | </TR> |
||
51 | |||
52 | <TR> |
||
53 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
54 | PREV CLASS |
||
55 | <A HREF="../../../../net/sf/antcontrib/platform/Platform.html" title="class in net.sf.antcontrib.platform"><B>NEXT CLASS</B></A></FONT></TD> |
||
56 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
57 | <A HREF="../../../../index.html?net/sf/antcontrib/platform/OsFamily.html" target="_top"><B>FRAMES</B></A> |
||
58 | <A HREF="OsFamily.html" target="_top"><B>NO FRAMES</B></A> |
||
59 | <SCRIPT type="text/javascript"> |
||
60 | <!-- |
||
61 | if(window==top) { |
||
62 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
63 | } |
||
64 | //--> |
||
65 | </SCRIPT> |
||
66 | <NOSCRIPT> |
||
67 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
68 | </NOSCRIPT> |
||
69 | |||
70 | |||
71 | </FONT></TD> |
||
72 | </TR> |
||
73 | <TR> |
||
74 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
75 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
76 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
77 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
78 | </TR> |
||
79 | </TABLE> |
||
80 | <A NAME="skip-navbar_top"></A> |
||
81 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
82 | |||
83 | <HR> |
||
84 | <!-- ======== START OF CLASS DATA ======== --> |
||
85 | <H2> |
||
86 | <FONT SIZE="-1"> |
||
87 | net.sf.antcontrib.platform</FONT> |
||
88 | <BR> |
||
89 | Class OsFamily</H2> |
||
90 | <PRE> |
||
91 | java.lang.Object |
||
92 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.tools.ant.ProjectComponent |
||
93 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.tools.ant.Task |
||
94 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.antcontrib.platform.OsFamily</B> |
||
95 | </PRE> |
||
96 | <HR> |
||
97 | <DL> |
||
98 | <DT><PRE>public class <B>OsFamily</B><DT>extends org.apache.tools.ant.Task</DL> |
||
99 | </PRE> |
||
100 | |||
101 | <P> |
||
102 | Task definition for the <code>OsFamily</code> task. |
||
103 | This task sets the property indicated in the "property" |
||
104 | attribute with the string representing the operating |
||
105 | system family. Possible values include "unix", "dos", "mac" |
||
106 | and "windows". |
||
107 | |||
108 | <pre> |
||
109 | |||
110 | Task Declaration: |
||
111 | |||
112 | <code> |
||
113 | <taskdef name="osfamily" classname="net.sf.antcontrib.platform.OsFamily" /> |
||
114 | </code> |
||
115 | |||
116 | Usage: |
||
117 | <code> |
||
118 | <osfamily property="propname" /> |
||
119 | </code> |
||
120 | |||
121 | Attributes: |
||
122 | property --> The name of the property to set with the OS family name |
||
123 | |||
124 | </pre> |
||
125 | <P> |
||
126 | |||
127 | <P> |
||
128 | <DL> |
||
129 | <DT><B>Author:</B></DT> |
||
130 | <DD><a href="mailto:mattinger@yahoo.com">Matthew Inger</a></DD> |
||
131 | </DL> |
||
132 | <HR> |
||
133 | |||
134 | <P> |
||
135 | <!-- =========== FIELD SUMMARY =========== --> |
||
136 | |||
137 | <A NAME="field_summary"><!-- --></A> |
||
138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
139 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
140 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
141 | <B>Field Summary</B></FONT></TH> |
||
142 | </TR> |
||
143 | </TABLE> |
||
144 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A> |
||
145 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
146 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
147 | <TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.Task</B></TH> |
||
148 | </TR> |
||
149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
150 | <TD><CODE>description, location, target, taskName, taskType, wrapper</CODE></TD> |
||
151 | </TR> |
||
152 | </TABLE> |
||
153 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A> |
||
154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
155 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
156 | <TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.ProjectComponent</B></TH> |
||
157 | </TR> |
||
158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
159 | <TD><CODE>project</CODE></TD> |
||
160 | </TR> |
||
161 | </TABLE> |
||
162 | |
||
163 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
164 | |||
165 | <A NAME="constructor_summary"><!-- --></A> |
||
166 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
167 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
168 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
169 | <B>Constructor Summary</B></FONT></TH> |
||
170 | </TR> |
||
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
172 | <TD><CODE><B><A HREF="../../../../net/sf/antcontrib/platform/OsFamily.html#OsFamily()">OsFamily</A></B>()</CODE> |
||
173 | |||
174 | <BR> |
||
175 | </TD> |
||
176 | </TR> |
||
177 | </TABLE> |
||
178 | |
||
179 | <!-- ========== METHOD SUMMARY =========== --> |
||
180 | |||
181 | <A NAME="method_summary"><!-- --></A> |
||
182 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
183 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
184 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
185 | <B>Method Summary</B></FONT></TH> |
||
186 | </TR> |
||
187 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
189 | <CODE> void</CODE></FONT></TD> |
||
190 | <TD><CODE><B><A HREF="../../../../net/sf/antcontrib/platform/OsFamily.html#execute()">execute</A></B>()</CODE> |
||
191 | |||
192 | <BR> |
||
193 | </TD> |
||
194 | </TR> |
||
195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
197 | <CODE> void</CODE></FONT></TD> |
||
198 | <TD><CODE><B><A HREF="../../../../net/sf/antcontrib/platform/OsFamily.html#setProperty(java.lang.String)">setProperty</A></B>(java.lang.String property)</CODE> |
||
199 | |||
200 | <BR> |
||
201 | </TD> |
||
202 | </TR> |
||
203 | </TABLE> |
||
204 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A> |
||
205 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
206 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
207 | <TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.Task</B></TH> |
||
208 | </TR> |
||
209 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
210 | <TD><CODE>getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType</CODE></TD> |
||
211 | </TR> |
||
212 | </TABLE> |
||
213 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A> |
||
214 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
215 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
216 | <TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.ProjectComponent</B></TH> |
||
217 | </TR> |
||
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
219 | <TD><CODE>getProject, setProject</CODE></TD> |
||
220 | </TR> |
||
221 | </TABLE> |
||
222 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
223 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
224 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
225 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
226 | </TR> |
||
227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
228 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
229 | </TR> |
||
230 | </TABLE> |
||
231 | |
||
232 | <P> |
||
233 | |||
234 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
235 | |||
236 | <A NAME="constructor_detail"><!-- --></A> |
||
237 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
238 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
239 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
240 | <B>Constructor Detail</B></FONT></TH> |
||
241 | </TR> |
||
242 | </TABLE> |
||
243 | |||
244 | <A NAME="OsFamily()"><!-- --></A><H3> |
||
245 | OsFamily</H3> |
||
246 | <PRE> |
||
247 | public <B>OsFamily</B>()</PRE> |
||
248 | <DL> |
||
249 | </DL> |
||
250 | |||
251 | <!-- ============ METHOD DETAIL ========== --> |
||
252 | |||
253 | <A NAME="method_detail"><!-- --></A> |
||
254 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
255 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
256 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
257 | <B>Method Detail</B></FONT></TH> |
||
258 | </TR> |
||
259 | </TABLE> |
||
260 | |||
261 | <A NAME="setProperty(java.lang.String)"><!-- --></A><H3> |
||
262 | setProperty</H3> |
||
263 | <PRE> |
||
264 | public void <B>setProperty</B>(java.lang.String property)</PRE> |
||
265 | <DL> |
||
266 | <DD><DL> |
||
267 | </DL> |
||
268 | </DD> |
||
269 | </DL> |
||
270 | <HR> |
||
271 | |||
272 | <A NAME="execute()"><!-- --></A><H3> |
||
273 | execute</H3> |
||
274 | <PRE> |
||
275 | public void <B>execute</B>() |
||
276 | throws org.apache.tools.ant.BuildException</PRE> |
||
277 | <DL> |
||
278 | <DD><DL> |
||
279 | <DT><B>Overrides:</B><DD><CODE>execute</CODE> in class <CODE>org.apache.tools.ant.Task</CODE></DL> |
||
280 | </DD> |
||
281 | <DD><DL> |
||
282 | |||
283 | <DT><B>Throws:</B> |
||
284 | <DD><CODE>org.apache.tools.ant.BuildException</CODE></DL> |
||
285 | </DD> |
||
286 | </DL> |
||
287 | <!-- ========= END OF CLASS DATA ========= --> |
||
288 | <HR> |
||
289 | |||
290 | |||
291 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
292 | <A NAME="navbar_bottom"><!-- --></A> |
||
293 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
294 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
295 | <TR> |
||
296 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
297 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
298 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
299 | <TR ALIGN="center" VALIGN="top"> |
||
300 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
301 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
302 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
303 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
304 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
305 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
306 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
307 | </TR> |
||
308 | </TABLE> |
||
309 | </TD> |
||
310 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
311 | </EM> |
||
312 | </TD> |
||
313 | </TR> |
||
314 | |||
315 | <TR> |
||
316 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
317 | PREV CLASS |
||
318 | <A HREF="../../../../net/sf/antcontrib/platform/Platform.html" title="class in net.sf.antcontrib.platform"><B>NEXT CLASS</B></A></FONT></TD> |
||
319 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
320 | <A HREF="../../../../index.html?net/sf/antcontrib/platform/OsFamily.html" target="_top"><B>FRAMES</B></A> |
||
321 | <A HREF="OsFamily.html" target="_top"><B>NO FRAMES</B></A> |
||
322 | <SCRIPT type="text/javascript"> |
||
323 | <!-- |
||
324 | if(window==top) { |
||
325 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
326 | } |
||
327 | //--> |
||
328 | </SCRIPT> |
||
329 | <NOSCRIPT> |
||
330 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
331 | </NOSCRIPT> |
||
332 | |||
333 | |||
334 | </FONT></TD> |
||
335 | </TR> |
||
336 | <TR> |
||
337 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
338 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
339 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
340 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
341 | </TR> |
||
342 | </TABLE> |
||
343 | <A NAME="skip-navbar_bottom"></A> |
||
344 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
345 | |||
346 | <HR> |
||
347 | |||
348 | </BODY> |
||
349 | </HTML> |