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:33 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | DateSelector (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.selectors.DateSelector 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="DateSelector (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/selectors/ContainsSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.TimeComparisons.html" title="class in org.apache.tools.ant.types.selectors"><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="DateSelector.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_class_summary">NESTED</A> | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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.selectors</FONT>
|
---|
85 | <BR>
|
---|
86 | Class DateSelector</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.DataType</A>
|
---|
91 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">org.apache.tools.ant.types.selectors.BaseSelector</A>
|
---|
92 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">org.apache.tools.ant.types.selectors.BaseExtendSelector</A>
|
---|
93 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.selectors.DateSelector</B>
|
---|
94 | </PRE>
|
---|
95 | <DL>
|
---|
96 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendFileSelector.html" title="interface in org.apache.tools.ant.types.selectors">ExtendFileSelector</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A>, <A HREF="../../../../../../org/apache/tools/ant/types/Parameterizable.html" title="interface in org.apache.tools.ant.types">Parameterizable</A></DD>
|
---|
97 | </DL>
|
---|
98 | <HR>
|
---|
99 | <DL>
|
---|
100 | <DT>public class <B>DateSelector</B><DT>extends <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></DL>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | Selector that chooses files based on their last modified date.
|
---|
104 | <P>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <DL>
|
---|
108 | <DT><B>Since:</B></DT>
|
---|
109 | <DD>1.5</DD>
|
---|
110 | </DL>
|
---|
111 | <HR>
|
---|
112 |
|
---|
113 | <P>
|
---|
114 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
115 |
|
---|
116 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
119 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
120 | <B>Nested Class Summary</B></FONT></TD>
|
---|
121 | </TR>
|
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
124 | <CODE>static class</CODE></FONT></TD>
|
---|
125 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.TimeComparisons.html" title="class in org.apache.tools.ant.types.selectors">DateSelector.TimeComparisons</A></B></CODE>
|
---|
126 |
|
---|
127 | <BR>
|
---|
128 | Enumerated attribute with the values for time comparison.</TD>
|
---|
129 | </TR>
|
---|
130 | </TABLE>
|
---|
131 |
|
---|
132 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
133 |
|
---|
134 | <A NAME="field_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>Field 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>static java.lang.String</CODE></FONT></TD>
|
---|
143 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#CHECKDIRS_KEY">CHECKDIRS_KEY</A></B></CODE>
|
---|
144 |
|
---|
145 | <BR>
|
---|
146 | Key to used for parameterized custom selector</TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
150 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
151 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#DATETIME_KEY">DATETIME_KEY</A></B></CODE>
|
---|
152 |
|
---|
153 | <BR>
|
---|
154 | Key to used for parameterized custom selector</TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
158 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
159 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#GRANULARITY_KEY">GRANULARITY_KEY</A></B></CODE>
|
---|
160 |
|
---|
161 | <BR>
|
---|
162 | Key to used for parameterized custom selector</TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#MILLIS_KEY">MILLIS_KEY</A></B></CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Key to used for parameterized custom selector</TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#PATTERN_KEY">PATTERN_KEY</A></B></CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | Key to used for parameterized custom selector</TD>
|
---|
179 | </TR>
|
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
182 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
183 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#WHEN_KEY">WHEN_KEY</A></B></CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | Key to used for parameterized custom selector</TD>
|
---|
187 | </TR>
|
---|
188 | </TABLE>
|
---|
189 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.selectors.BaseExtendSelector"><!-- --></A>
|
---|
190 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
191 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
192 | <TD><B>Fields inherited from class org.apache.tools.ant.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></B></TD>
|
---|
193 | </TR>
|
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
195 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#parameters">parameters</A></CODE></TD>
|
---|
196 | </TR>
|
---|
197 | </TABLE>
|
---|
198 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
199 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
200 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
201 | <TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
202 | </TR>
|
---|
203 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
204 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checked">checked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#description">description</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#ref">ref</A></CODE></TD>
|
---|
205 | </TR>
|
---|
206 | </TABLE>
|
---|
207 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
208 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
209 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
210 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
211 | </TR>
|
---|
212 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
213 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
214 | </TR>
|
---|
215 | </TABLE>
|
---|
216 |
|
---|
217 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
218 |
|
---|
219 | <A NAME="constructor_summary"><!-- --></A>
|
---|
220 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
221 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
222 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
223 | <B>Constructor Summary</B></FONT></TD>
|
---|
224 | </TR>
|
---|
225 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
226 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#DateSelector()">DateSelector</A></B>()</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | Creates a new <code>DateSelector</code> instance.</TD>
|
---|
230 | </TR>
|
---|
231 | </TABLE>
|
---|
232 |
|
---|
233 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
234 |
|
---|
235 | <A NAME="method_summary"><!-- --></A>
|
---|
236 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
237 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
238 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
239 | <B>Method Summary</B></FONT></TD>
|
---|
240 | </TR>
|
---|
241 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
242 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
243 | <CODE> long</CODE></FONT></TD>
|
---|
244 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#getMillis()">getMillis</A></B>()</CODE>
|
---|
245 |
|
---|
246 | <BR>
|
---|
247 | Returns the millisecond value the selector is set for.</TD>
|
---|
248 | </TR>
|
---|
249 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
251 | <CODE> boolean</CODE></FONT></TD>
|
---|
252 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></B>(java.io.File basedir,
|
---|
253 | java.lang.String filename,
|
---|
254 | java.io.File file)</CODE>
|
---|
255 |
|
---|
256 | <BR>
|
---|
257 | The heart of the matter.</TD>
|
---|
258 | </TR>
|
---|
259 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
261 | <CODE> void</CODE></FONT></TD>
|
---|
262 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setCheckdirs(boolean)">setCheckdirs</A></B>(boolean includeDirs)</CODE>
|
---|
263 |
|
---|
264 | <BR>
|
---|
265 | Should we be checking dates on directories?</TD>
|
---|
266 | </TR>
|
---|
267 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
269 | <CODE> void</CODE></FONT></TD>
|
---|
270 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setDatetime(java.lang.String)">setDatetime</A></B>(java.lang.String dateTime)</CODE>
|
---|
271 |
|
---|
272 | <BR>
|
---|
273 | Sets the date.</TD>
|
---|
274 | </TR>
|
---|
275 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
276 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
277 | <CODE> void</CODE></FONT></TD>
|
---|
278 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setGranularity(int)">setGranularity</A></B>(int granularity)</CODE>
|
---|
279 |
|
---|
280 | <BR>
|
---|
281 | Sets the number of milliseconds leeway we will give before we consider
|
---|
282 | a file not to have matched a date.</TD>
|
---|
283 | </TR>
|
---|
284 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
286 | <CODE> void</CODE></FONT></TD>
|
---|
287 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setMillis(long)">setMillis</A></B>(long millis)</CODE>
|
---|
288 |
|
---|
289 | <BR>
|
---|
290 | For users that prefer to express time in milliseconds since 1970</TD>
|
---|
291 | </TR>
|
---|
292 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
294 | <CODE> void</CODE></FONT></TD>
|
---|
295 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setParameters(org.apache.tools.ant.types.Parameter[])">setParameters</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types">Parameter</A>[] parameters)</CODE>
|
---|
296 |
|
---|
297 | <BR>
|
---|
298 | When using this as a custom selector, this method will be called.</TD>
|
---|
299 | </TR>
|
---|
300 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
301 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
302 | <CODE> void</CODE></FONT></TD>
|
---|
303 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setPattern(java.lang.String)">setPattern</A></B>(java.lang.String pattern)</CODE>
|
---|
304 |
|
---|
305 | <BR>
|
---|
306 | Sets the pattern to be used for the SimpleDateFormat</TD>
|
---|
307 | </TR>
|
---|
308 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
309 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
310 | <CODE> void</CODE></FONT></TD>
|
---|
311 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#setWhen(org.apache.tools.ant.types.selectors.DateSelector.TimeComparisons)">setWhen</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.TimeComparisons.html" title="class in org.apache.tools.ant.types.selectors">DateSelector.TimeComparisons</A> cmp)</CODE>
|
---|
312 |
|
---|
313 | <BR>
|
---|
314 | Sets the type of comparison to be done on the file's last modified
|
---|
315 | date.</TD>
|
---|
316 | </TR>
|
---|
317 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
318 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
319 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
320 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#toString()">toString</A></B>()</CODE>
|
---|
321 |
|
---|
322 | <BR>
|
---|
323 | </TD>
|
---|
324 | </TR>
|
---|
325 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
327 | <CODE> void</CODE></FONT></TD>
|
---|
328 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.html#verifySettings()">verifySettings</A></B>()</CODE>
|
---|
329 |
|
---|
330 | <BR>
|
---|
331 | This is a consistency check to ensure the selector's required
|
---|
332 | values have been set.</TD>
|
---|
333 | </TR>
|
---|
334 | </TABLE>
|
---|
335 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.selectors.BaseExtendSelector"><!-- --></A>
|
---|
336 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
337 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
338 | <TD><B>Methods inherited from class org.apache.tools.ant.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></B></TD>
|
---|
339 | </TR>
|
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
341 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#getParameters()">getParameters</A></CODE></TD>
|
---|
342 | </TR>
|
---|
343 | </TABLE>
|
---|
344 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.selectors.BaseSelector"><!-- --></A>
|
---|
345 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
346 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
347 | <TD><B>Methods inherited from class org.apache.tools.ant.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></B></TD>
|
---|
348 | </TR>
|
---|
349 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
350 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#getError()">getError</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#setError(java.lang.String)">setError</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#validate()">validate</A></CODE></TD>
|
---|
351 | </TR>
|
---|
352 | </TABLE>
|
---|
353 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
354 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
355 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
356 | <TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
357 | </TR>
|
---|
358 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
359 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checkAttributesAllowed()">checkAttributesAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checkChildrenAllowed()">checkChildrenAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#circularReference()">circularReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getCheckedRef(java.lang.Class, java.lang.String)">getCheckedRef</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getDescription()">getDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getRefid()">getRefid</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#isChecked()">isChecked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#isReference()">isReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#noChildrenAllowed()">noChildrenAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setChecked(boolean)">setChecked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#tooManyAttributes()">tooManyAttributes</A></CODE></TD>
|
---|
360 | </TR>
|
---|
361 | </TABLE>
|
---|
362 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
363 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
364 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
365 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
366 | </TR>
|
---|
367 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
368 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
369 | </TR>
|
---|
370 | </TABLE>
|
---|
371 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
372 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
373 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
374 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
375 | </TR>
|
---|
376 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
377 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
378 | </TR>
|
---|
379 | </TABLE>
|
---|
380 |
|
---|
381 | <P>
|
---|
382 |
|
---|
383 | <!-- ============ FIELD DETAIL =========== -->
|
---|
384 |
|
---|
385 | <A NAME="field_detail"><!-- --></A>
|
---|
386 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
387 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
388 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
389 | <B>Field Detail</B></FONT></TD>
|
---|
390 | </TR>
|
---|
391 | </TABLE>
|
---|
392 |
|
---|
393 | <A NAME="MILLIS_KEY"><!-- --></A><H3>
|
---|
394 | MILLIS_KEY</H3>
|
---|
395 | <PRE>
|
---|
396 | public static final java.lang.String <B>MILLIS_KEY</B></PRE>
|
---|
397 | <DL>
|
---|
398 | <DD>Key to used for parameterized custom selector
|
---|
399 | <P>
|
---|
400 | <DL>
|
---|
401 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.DateSelector.MILLIS_KEY">Constant Field Values</A></DL>
|
---|
402 | </DL>
|
---|
403 | <HR>
|
---|
404 |
|
---|
405 | <A NAME="DATETIME_KEY"><!-- --></A><H3>
|
---|
406 | DATETIME_KEY</H3>
|
---|
407 | <PRE>
|
---|
408 | public static final java.lang.String <B>DATETIME_KEY</B></PRE>
|
---|
409 | <DL>
|
---|
410 | <DD>Key to used for parameterized custom selector
|
---|
411 | <P>
|
---|
412 | <DL>
|
---|
413 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.DateSelector.DATETIME_KEY">Constant Field Values</A></DL>
|
---|
414 | </DL>
|
---|
415 | <HR>
|
---|
416 |
|
---|
417 | <A NAME="CHECKDIRS_KEY"><!-- --></A><H3>
|
---|
418 | CHECKDIRS_KEY</H3>
|
---|
419 | <PRE>
|
---|
420 | public static final java.lang.String <B>CHECKDIRS_KEY</B></PRE>
|
---|
421 | <DL>
|
---|
422 | <DD>Key to used for parameterized custom selector
|
---|
423 | <P>
|
---|
424 | <DL>
|
---|
425 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.DateSelector.CHECKDIRS_KEY">Constant Field Values</A></DL>
|
---|
426 | </DL>
|
---|
427 | <HR>
|
---|
428 |
|
---|
429 | <A NAME="GRANULARITY_KEY"><!-- --></A><H3>
|
---|
430 | GRANULARITY_KEY</H3>
|
---|
431 | <PRE>
|
---|
432 | public static final java.lang.String <B>GRANULARITY_KEY</B></PRE>
|
---|
433 | <DL>
|
---|
434 | <DD>Key to used for parameterized custom selector
|
---|
435 | <P>
|
---|
436 | <DL>
|
---|
437 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.DateSelector.GRANULARITY_KEY">Constant Field Values</A></DL>
|
---|
438 | </DL>
|
---|
439 | <HR>
|
---|
440 |
|
---|
441 | <A NAME="WHEN_KEY"><!-- --></A><H3>
|
---|
442 | WHEN_KEY</H3>
|
---|
443 | <PRE>
|
---|
444 | public static final java.lang.String <B>WHEN_KEY</B></PRE>
|
---|
445 | <DL>
|
---|
446 | <DD>Key to used for parameterized custom selector
|
---|
447 | <P>
|
---|
448 | <DL>
|
---|
449 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.DateSelector.WHEN_KEY">Constant Field Values</A></DL>
|
---|
450 | </DL>
|
---|
451 | <HR>
|
---|
452 |
|
---|
453 | <A NAME="PATTERN_KEY"><!-- --></A><H3>
|
---|
454 | PATTERN_KEY</H3>
|
---|
455 | <PRE>
|
---|
456 | public static final java.lang.String <B>PATTERN_KEY</B></PRE>
|
---|
457 | <DL>
|
---|
458 | <DD>Key to used for parameterized custom selector
|
---|
459 | <P>
|
---|
460 | <DL>
|
---|
461 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.DateSelector.PATTERN_KEY">Constant Field Values</A></DL>
|
---|
462 | </DL>
|
---|
463 |
|
---|
464 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
465 |
|
---|
466 | <A NAME="constructor_detail"><!-- --></A>
|
---|
467 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
468 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
469 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
470 | <B>Constructor Detail</B></FONT></TD>
|
---|
471 | </TR>
|
---|
472 | </TABLE>
|
---|
473 |
|
---|
474 | <A NAME="DateSelector()"><!-- --></A><H3>
|
---|
475 | DateSelector</H3>
|
---|
476 | <PRE>
|
---|
477 | public <B>DateSelector</B>()</PRE>
|
---|
478 | <DL>
|
---|
479 | <DD>Creates a new <code>DateSelector</code> instance.
|
---|
480 | <P>
|
---|
481 | </DL>
|
---|
482 |
|
---|
483 | <!-- ============ METHOD DETAIL ========== -->
|
---|
484 |
|
---|
485 | <A NAME="method_detail"><!-- --></A>
|
---|
486 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
487 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
488 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
489 | <B>Method Detail</B></FONT></TD>
|
---|
490 | </TR>
|
---|
491 | </TABLE>
|
---|
492 |
|
---|
493 | <A NAME="toString()"><!-- --></A><H3>
|
---|
494 | toString</H3>
|
---|
495 | <PRE>
|
---|
496 | public java.lang.String <B>toString</B>()</PRE>
|
---|
497 | <DL>
|
---|
498 | <DD><DL>
|
---|
499 |
|
---|
500 | <DT><B>Returns:</B><DD>a string describing this object</DL>
|
---|
501 | </DD>
|
---|
502 | </DL>
|
---|
503 | <HR>
|
---|
504 |
|
---|
505 | <A NAME="setMillis(long)"><!-- --></A><H3>
|
---|
506 | setMillis</H3>
|
---|
507 | <PRE>
|
---|
508 | public void <B>setMillis</B>(long millis)</PRE>
|
---|
509 | <DL>
|
---|
510 | <DD>For users that prefer to express time in milliseconds since 1970
|
---|
511 | <P>
|
---|
512 | <DD><DL>
|
---|
513 | <DT><B>Parameters:</B><DD><CODE>millis</CODE> - the time to compare file's last modified date to,
|
---|
514 | expressed in milliseconds</DL>
|
---|
515 | </DD>
|
---|
516 | </DL>
|
---|
517 | <HR>
|
---|
518 |
|
---|
519 | <A NAME="getMillis()"><!-- --></A><H3>
|
---|
520 | getMillis</H3>
|
---|
521 | <PRE>
|
---|
522 | public long <B>getMillis</B>()</PRE>
|
---|
523 | <DL>
|
---|
524 | <DD>Returns the millisecond value the selector is set for.
|
---|
525 | <P>
|
---|
526 | <DD><DL>
|
---|
527 |
|
---|
528 | <DT><B>Returns:</B><DD>the millisecond value</DL>
|
---|
529 | </DD>
|
---|
530 | </DL>
|
---|
531 | <HR>
|
---|
532 |
|
---|
533 | <A NAME="setDatetime(java.lang.String)"><!-- --></A><H3>
|
---|
534 | setDatetime</H3>
|
---|
535 | <PRE>
|
---|
536 | public void <B>setDatetime</B>(java.lang.String dateTime)</PRE>
|
---|
537 | <DL>
|
---|
538 | <DD>Sets the date. The user must supply it in MM/DD/YYYY HH:MM AM_PM
|
---|
539 | format
|
---|
540 | <P>
|
---|
541 | <DD><DL>
|
---|
542 | <DT><B>Parameters:</B><DD><CODE>dateTime</CODE> - a string in MM/DD/YYYY HH:MM AM_PM format</DL>
|
---|
543 | </DD>
|
---|
544 | </DL>
|
---|
545 | <HR>
|
---|
546 |
|
---|
547 | <A NAME="setCheckdirs(boolean)"><!-- --></A><H3>
|
---|
548 | setCheckdirs</H3>
|
---|
549 | <PRE>
|
---|
550 | public void <B>setCheckdirs</B>(boolean includeDirs)</PRE>
|
---|
551 | <DL>
|
---|
552 | <DD>Should we be checking dates on directories?
|
---|
553 | <P>
|
---|
554 | <DD><DL>
|
---|
555 | <DT><B>Parameters:</B><DD><CODE>includeDirs</CODE> - whether to check the timestamp on directories</DL>
|
---|
556 | </DD>
|
---|
557 | </DL>
|
---|
558 | <HR>
|
---|
559 |
|
---|
560 | <A NAME="setGranularity(int)"><!-- --></A><H3>
|
---|
561 | setGranularity</H3>
|
---|
562 | <PRE>
|
---|
563 | public void <B>setGranularity</B>(int granularity)</PRE>
|
---|
564 | <DL>
|
---|
565 | <DD>Sets the number of milliseconds leeway we will give before we consider
|
---|
566 | a file not to have matched a date.
|
---|
567 | <P>
|
---|
568 | <DD><DL>
|
---|
569 | <DT><B>Parameters:</B><DD><CODE>granularity</CODE> - the number of milliconds leeway</DL>
|
---|
570 | </DD>
|
---|
571 | </DL>
|
---|
572 | <HR>
|
---|
573 |
|
---|
574 | <A NAME="setWhen(org.apache.tools.ant.types.selectors.DateSelector.TimeComparisons)"><!-- --></A><H3>
|
---|
575 | setWhen</H3>
|
---|
576 | <PRE>
|
---|
577 | public void <B>setWhen</B>(<A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.TimeComparisons.html" title="class in org.apache.tools.ant.types.selectors">DateSelector.TimeComparisons</A> cmp)</PRE>
|
---|
578 | <DL>
|
---|
579 | <DD>Sets the type of comparison to be done on the file's last modified
|
---|
580 | date.
|
---|
581 | <P>
|
---|
582 | <DD><DL>
|
---|
583 | <DT><B>Parameters:</B><DD><CODE>cmp</CODE> - The comparison to perform, an EnumeratedAttribute</DL>
|
---|
584 | </DD>
|
---|
585 | </DL>
|
---|
586 | <HR>
|
---|
587 |
|
---|
588 | <A NAME="setPattern(java.lang.String)"><!-- --></A><H3>
|
---|
589 | setPattern</H3>
|
---|
590 | <PRE>
|
---|
591 | public void <B>setPattern</B>(java.lang.String pattern)</PRE>
|
---|
592 | <DL>
|
---|
593 | <DD>Sets the pattern to be used for the SimpleDateFormat
|
---|
594 | <P>
|
---|
595 | <DD><DL>
|
---|
596 | <DT><B>Parameters:</B><DD><CODE>pattern</CODE> - the pattern that defines the date format</DL>
|
---|
597 | </DD>
|
---|
598 | </DL>
|
---|
599 | <HR>
|
---|
600 |
|
---|
601 | <A NAME="setParameters(org.apache.tools.ant.types.Parameter[])"><!-- --></A><H3>
|
---|
602 | setParameters</H3>
|
---|
603 | <PRE>
|
---|
604 | public void <B>setParameters</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types">Parameter</A>[] parameters)</PRE>
|
---|
605 | <DL>
|
---|
606 | <DD>When using this as a custom selector, this method will be called.
|
---|
607 | It translates each parameter into the appropriate setXXX() call.
|
---|
608 | <P>
|
---|
609 | <DD><DL>
|
---|
610 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/Parameterizable.html#setParameters(org.apache.tools.ant.types.Parameter[])">setParameters</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/types/Parameterizable.html" title="interface in org.apache.tools.ant.types">Parameterizable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#setParameters(org.apache.tools.ant.types.Parameter[])">setParameters</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></CODE></DL>
|
---|
611 | </DD>
|
---|
612 | <DD><DL>
|
---|
613 | <DT><B>Parameters:</B><DD><CODE>parameters</CODE> - the complete set of parameters for this selector</DL>
|
---|
614 | </DD>
|
---|
615 | </DL>
|
---|
616 | <HR>
|
---|
617 |
|
---|
618 | <A NAME="verifySettings()"><!-- --></A><H3>
|
---|
619 | verifySettings</H3>
|
---|
620 | <PRE>
|
---|
621 | public void <B>verifySettings</B>()</PRE>
|
---|
622 | <DL>
|
---|
623 | <DD>This is a consistency check to ensure the selector's required
|
---|
624 | values have been set.
|
---|
625 | <P>
|
---|
626 | <DD><DL>
|
---|
627 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#verifySettings()">verifySettings</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></CODE></DL>
|
---|
628 | </DD>
|
---|
629 | <DD><DL>
|
---|
630 | </DL>
|
---|
631 | </DD>
|
---|
632 | </DL>
|
---|
633 | <HR>
|
---|
634 |
|
---|
635 | <A NAME="isSelected(java.io.File, java.lang.String, java.io.File)"><!-- --></A><H3>
|
---|
636 | isSelected</H3>
|
---|
637 | <PRE>
|
---|
638 | public boolean <B>isSelected</B>(java.io.File basedir,
|
---|
639 | java.lang.String filename,
|
---|
640 | java.io.File file)</PRE>
|
---|
641 | <DL>
|
---|
642 | <DD>The heart of the matter. This is where the selector gets to decide
|
---|
643 | on the inclusion of a file in a particular fileset.
|
---|
644 | <P>
|
---|
645 | <DD><DL>
|
---|
646 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></CODE></DL>
|
---|
647 | </DD>
|
---|
648 | <DD><DL>
|
---|
649 | <DT><B>Parameters:</B><DD><CODE>basedir</CODE> - the base directory the scan is being done from<DD><CODE>filename</CODE> - is the name of the file to check<DD><CODE>file</CODE> - is a java.io.File object the selector can use
|
---|
650 | <DT><B>Returns:</B><DD>whether the file should be selected or not</DL>
|
---|
651 | </DD>
|
---|
652 | </DL>
|
---|
653 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
654 | <HR>
|
---|
655 |
|
---|
656 |
|
---|
657 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
658 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
659 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
660 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
661 | <TR>
|
---|
662 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
663 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
664 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
665 | <TR ALIGN="center" VALIGN="top">
|
---|
666 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
667 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
668 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
669 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
670 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
671 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
672 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
673 | </TR>
|
---|
674 | </TABLE>
|
---|
675 | </TD>
|
---|
676 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
677 | </EM>
|
---|
678 | </TD>
|
---|
679 | </TR>
|
---|
680 |
|
---|
681 | <TR>
|
---|
682 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
683 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>PREV CLASS</B></A>
|
---|
684 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/DateSelector.TimeComparisons.html" title="class in org.apache.tools.ant.types.selectors"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
685 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
686 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
687 | <A HREF="DateSelector.html" target="_top"><B>NO FRAMES</B></A>
|
---|
688 | <SCRIPT type="text/javascript">
|
---|
689 | <!--
|
---|
690 | if(window==top) {
|
---|
691 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
692 | }
|
---|
693 | //-->
|
---|
694 | </SCRIPT>
|
---|
695 | <NOSCRIPT>
|
---|
696 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
697 | </NOSCRIPT>
|
---|
698 |
|
---|
699 | </FONT></TD>
|
---|
700 | </TR>
|
---|
701 | <TR>
|
---|
702 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
703 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
704 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
705 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
706 | </TR>
|
---|
707 | </TABLE>
|
---|
708 | <A NAME="skip-navbar_bottom"></A>
|
---|
709 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
710 |
|
---|
711 | <HR>
|
---|
712 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
713 | </BODY>
|
---|
714 | </HTML>
|
---|