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:17 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | InputRequest (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.input.InputRequest 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="InputRequest (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/input/DefaultInputHandler.html" title="class in org.apache.tools.ant.input"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/input/MultipleChoiceInputRequest.html" title="class in org.apache.tools.ant.input"><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="InputRequest.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: NESTED | FIELD | <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.input</FONT>
|
---|
85 | <BR>
|
---|
86 | Class InputRequest</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.input.InputRequest</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/tools/ant/input/MultipleChoiceInputRequest.html" title="class in org.apache.tools.ant.input">MultipleChoiceInputRequest</A></DD>
|
---|
93 | </DL>
|
---|
94 | <HR>
|
---|
95 | <DL>
|
---|
96 | <DT>public class <B>InputRequest</B><DT>extends java.lang.Object</DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | Encapsulates an input request.
|
---|
100 | <P>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | <DL>
|
---|
104 | <DT><B>Since:</B></DT>
|
---|
105 | <DD>Ant 1.5</DD>
|
---|
106 | </DL>
|
---|
107 | <HR>
|
---|
108 |
|
---|
109 | <P>
|
---|
110 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
111 |
|
---|
112 |
|
---|
113 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
114 |
|
---|
115 |
|
---|
116 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
117 |
|
---|
118 | <A NAME="constructor_summary"><!-- --></A>
|
---|
119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
121 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
122 | <B>Constructor Summary</B></FONT></TD>
|
---|
123 | </TR>
|
---|
124 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
125 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/input/InputRequest.html#InputRequest(java.lang.String)">InputRequest</A></B>(java.lang.String prompt)</CODE>
|
---|
126 |
|
---|
127 | <BR>
|
---|
128 | </TD>
|
---|
129 | </TR>
|
---|
130 | </TABLE>
|
---|
131 |
|
---|
132 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
133 |
|
---|
134 | <A NAME="method_summary"><!-- --></A>
|
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
136 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
137 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
138 | <B>Method Summary</B></FONT></TD>
|
---|
139 | </TR>
|
---|
140 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
142 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
143 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/input/InputRequest.html#getInput()">getInput</A></B>()</CODE>
|
---|
144 |
|
---|
145 | <BR>
|
---|
146 | Retrieves the user input.</TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
150 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
151 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/input/InputRequest.html#getPrompt()">getPrompt</A></B>()</CODE>
|
---|
152 |
|
---|
153 | <BR>
|
---|
154 | Retrieves the prompt text.</TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
158 | <CODE> boolean</CODE></FONT></TD>
|
---|
159 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/input/InputRequest.html#isInputValid()">isInputValid</A></B>()</CODE>
|
---|
160 |
|
---|
161 | <BR>
|
---|
162 | Is the user input valid?</TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE> void</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/input/InputRequest.html#setInput(java.lang.String)">setInput</A></B>(java.lang.String input)</CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Sets the user provided input.</TD>
|
---|
171 | </TR>
|
---|
172 | </TABLE>
|
---|
173 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
174 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
175 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
176 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
177 | </TR>
|
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
179 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
180 | </TR>
|
---|
181 | </TABLE>
|
---|
182 |
|
---|
183 | <P>
|
---|
184 |
|
---|
185 | <!-- ============ FIELD DETAIL =========== -->
|
---|
186 |
|
---|
187 |
|
---|
188 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
189 |
|
---|
190 | <A NAME="constructor_detail"><!-- --></A>
|
---|
191 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
192 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
193 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
194 | <B>Constructor Detail</B></FONT></TD>
|
---|
195 | </TR>
|
---|
196 | </TABLE>
|
---|
197 |
|
---|
198 | <A NAME="InputRequest(java.lang.String)"><!-- --></A><H3>
|
---|
199 | InputRequest</H3>
|
---|
200 | <PRE>
|
---|
201 | public <B>InputRequest</B>(java.lang.String prompt)</PRE>
|
---|
202 | <DL>
|
---|
203 | <DT><B>Parameters:</B><DD><CODE>prompt</CODE> - The prompt to show to the user. Must not be null.</DL>
|
---|
204 |
|
---|
205 | <!-- ============ METHOD DETAIL ========== -->
|
---|
206 |
|
---|
207 | <A NAME="method_detail"><!-- --></A>
|
---|
208 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
209 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
210 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
211 | <B>Method Detail</B></FONT></TD>
|
---|
212 | </TR>
|
---|
213 | </TABLE>
|
---|
214 |
|
---|
215 | <A NAME="getPrompt()"><!-- --></A><H3>
|
---|
216 | getPrompt</H3>
|
---|
217 | <PRE>
|
---|
218 | public java.lang.String <B>getPrompt</B>()</PRE>
|
---|
219 | <DL>
|
---|
220 | <DD>Retrieves the prompt text.
|
---|
221 | <P>
|
---|
222 | <DD><DL>
|
---|
223 | </DL>
|
---|
224 | </DD>
|
---|
225 | </DL>
|
---|
226 | <HR>
|
---|
227 |
|
---|
228 | <A NAME="setInput(java.lang.String)"><!-- --></A><H3>
|
---|
229 | setInput</H3>
|
---|
230 | <PRE>
|
---|
231 | public void <B>setInput</B>(java.lang.String input)</PRE>
|
---|
232 | <DL>
|
---|
233 | <DD>Sets the user provided input.
|
---|
234 | <P>
|
---|
235 | <DD><DL>
|
---|
236 | </DL>
|
---|
237 | </DD>
|
---|
238 | </DL>
|
---|
239 | <HR>
|
---|
240 |
|
---|
241 | <A NAME="isInputValid()"><!-- --></A><H3>
|
---|
242 | isInputValid</H3>
|
---|
243 | <PRE>
|
---|
244 | public boolean <B>isInputValid</B>()</PRE>
|
---|
245 | <DL>
|
---|
246 | <DD>Is the user input valid?
|
---|
247 | <P>
|
---|
248 | <DD><DL>
|
---|
249 | </DL>
|
---|
250 | </DD>
|
---|
251 | </DL>
|
---|
252 | <HR>
|
---|
253 |
|
---|
254 | <A NAME="getInput()"><!-- --></A><H3>
|
---|
255 | getInput</H3>
|
---|
256 | <PRE>
|
---|
257 | public java.lang.String <B>getInput</B>()</PRE>
|
---|
258 | <DL>
|
---|
259 | <DD>Retrieves the user input.
|
---|
260 | <P>
|
---|
261 | <DD><DL>
|
---|
262 | </DL>
|
---|
263 | </DD>
|
---|
264 | </DL>
|
---|
265 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
266 | <HR>
|
---|
267 |
|
---|
268 |
|
---|
269 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
270 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
271 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
272 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
273 | <TR>
|
---|
274 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
275 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
276 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
277 | <TR ALIGN="center" VALIGN="top">
|
---|
278 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
279 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
280 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
281 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
282 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
283 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
284 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
285 | </TR>
|
---|
286 | </TABLE>
|
---|
287 | </TD>
|
---|
288 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
289 | </EM>
|
---|
290 | </TD>
|
---|
291 | </TR>
|
---|
292 |
|
---|
293 | <TR>
|
---|
294 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
295 | <A HREF="../../../../../org/apache/tools/ant/input/DefaultInputHandler.html" title="class in org.apache.tools.ant.input"><B>PREV CLASS</B></A>
|
---|
296 | <A HREF="../../../../../org/apache/tools/ant/input/MultipleChoiceInputRequest.html" title="class in org.apache.tools.ant.input"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
297 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
298 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
299 | <A HREF="InputRequest.html" target="_top"><B>NO FRAMES</B></A>
|
---|
300 | <SCRIPT type="text/javascript">
|
---|
301 | <!--
|
---|
302 | if(window==top) {
|
---|
303 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
304 | }
|
---|
305 | //-->
|
---|
306 | </SCRIPT>
|
---|
307 | <NOSCRIPT>
|
---|
308 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
309 | </NOSCRIPT>
|
---|
310 |
|
---|
311 | </FONT></TD>
|
---|
312 | </TR>
|
---|
313 | <TR>
|
---|
314 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
315 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
316 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
317 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
318 | </TR>
|
---|
319 | </TABLE>
|
---|
320 | <A NAME="skip-navbar_bottom"></A>
|
---|
321 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
322 |
|
---|
323 | <HR>
|
---|
324 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
325 | </BODY>
|
---|
326 | </HTML>
|
---|