source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/DirectoryScanner.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 74.3 KB
Line 
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:14 NZST 2007 -->
6<TITLE>
7DirectoryScanner (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.DirectoryScanner class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="DirectoryScanner (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/tools/ant/Diagnostics.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html" title="class in org.apache.tools.ant"><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> &nbsp;
56&nbsp;<A HREF="DirectoryScanner.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
84org.apache.tools.ant</FONT>
85<BR>
86Class DirectoryScanner</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.DirectoryScanner</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A>, <A HREF="../../../../org/apache/tools/ant/types/ResourceFactory.html" title="interface in org.apache.tools.ant.types">ResourceFactory</A>, <A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html" title="interface in org.apache.tools.ant.types.selectors">SelectorScanner</A></DD>
93</DL>
94<DL>
95<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/tools/ant/types/optional/depend/DependScanner.html" title="class in org.apache.tools.ant.types.optional.depend">DependScanner</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/net/FTP.FTPDirectoryScanner.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTP.FTPDirectoryScanner</A>, <A HREF="../../../../org/apache/tools/ant/types/ZipScanner.html" title="class in org.apache.tools.ant.types">ZipScanner</A></DD>
96</DL>
97<HR>
98<DL>
99<DT>public class <B>DirectoryScanner</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A>, <A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html" title="interface in org.apache.tools.ant.types.selectors">SelectorScanner</A>, <A HREF="../../../../org/apache/tools/ant/types/ResourceFactory.html" title="interface in org.apache.tools.ant.types">ResourceFactory</A></DL>
100
101<P>
102Class for scanning a directory for files/directories which match certain
103 criteria.
104 <p>
105 These criteria consist of selectors and patterns which have been specified.
106 With the selectors you can select which files you want to have included.
107 Files which are not selected are excluded. With patterns you can include
108 or exclude files based on their filename.
109 <p>
110 The idea is simple. A given directory is recursively scanned for all files
111 and directories. Each file/directory is matched against a set of selectors,
112 including special support for matching against filenames with include and
113 and exclude patterns. Only files/directories which match at least one
114 pattern of the include pattern list or other file selector, and don't match
115 any pattern of the exclude pattern list or fail to match against a required
116 selector will be placed in the list of files/directories found.
117 <p>
118 When no list of include patterns is supplied, "**" will be used, which
119 means that everything will be matched. When no list of exclude patterns is
120 supplied, an empty list is used, such that nothing will be excluded. When
121 no selectors are supplied, none are applied.
122 <p>
123 The filename pattern matching is done as follows:
124 The name to be matched is split up in path segments. A path segment is the
125 name of a directory or file, which is bounded by
126 <code>File.separator</code> ('/' under UNIX, '\' under Windows).
127 For example, "abc/def/ghi/xyz.java" is split up in the segments "abc",
128 "def","ghi" and "xyz.java".
129 The same is done for the pattern against which should be matched.
130 <p>
131 The segments of the name and the pattern are then matched against each
132 other. When '**' is used for a path segment in the pattern, it matches
133 zero or more path segments of the name.
134 <p>
135 There is a special case regarding the use of <code>File.separator</code>s
136 at the beginning of the pattern and the string to match:<br>
137 When a pattern starts with a <code>File.separator</code>, the string
138 to match must also start with a <code>File.separator</code>.
139 When a pattern does not start with a <code>File.separator</code>, the
140 string to match may not start with a <code>File.separator</code>.
141 When one of these rules is not obeyed, the string will not
142 match.
143 <p>
144 When a name path segment is matched against a pattern path segment, the
145 following special characters can be used:<br>
146 '*' matches zero or more characters<br>
147 '?' matches one character.
148 <p>
149 Examples:
150 <p>
151 "**\*.class" matches all .class files/dirs in a directory tree.
152 <p>
153 "test\a??.java" matches all files/dirs which start with an 'a', then two
154 more characters and then ".java", in a directory called test.
155 <p>
156 "**" matches everything in a directory tree.
157 <p>
158 "**\test\**\XYZ*" matches all files/dirs which start with "XYZ" and where
159 there is a parent directory called test (e.g. "abc\test\def\ghi\XYZ123").
160 <p>
161 Case sensitivity may be turned off if necessary. By default, it is
162 turned on.
163 <p>
164 Example of usage:
165 <pre>
166 String[] includes = {"*\*\*.class"};
167 String[] excludes = {"modules\\\*\**"};
168 ds.setIncludes(includes);
169 ds.setExcludes(excludes);
170 ds.setBasedir(new File("test"));
171 ds.setCaseSensitive(true);
172 ds.scan();
173
174 System.out.println("FILES:");
175 String[] files = ds.getIncludedFiles();
176 for (int i = 0; i < files.length; i++) {
177 System.out.println(files[i]);
178 }
179 </pre>
180 This will scan a directory called test for .class files, but excludes all
181 files in all proper subdirectories of a directory called "modules"
182<P>
183
184<P>
185<HR>
186
187<P>
188<!-- ======== NESTED CLASS SUMMARY ======== -->
189
190
191<!-- =========== FIELD SUMMARY =========== -->
192
193<A NAME="field_summary"><!-- --></A>
194<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196<TD COLSPAN=2><FONT SIZE="+2">
197<B>Field Summary</B></FONT></TD>
198</TR>
199<TR BGCOLOR="white" CLASS="TableRowColor">
200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201<CODE>protected &nbsp;java.io.File</CODE></FONT></TD>
202<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#basedir">basedir</A></B></CODE>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The base directory to be scanned.</TD>
206</TR>
207<TR BGCOLOR="white" CLASS="TableRowColor">
208<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209<CODE>protected static&nbsp;java.lang.String[]</CODE></FONT></TD>
210<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#DEFAULTEXCLUDES">DEFAULTEXCLUDES</A></B></CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use the <A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getDefaultExcludes()"><CODE>getDefaultExcludes</CODE></A> method instead.</I></TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
218<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsDeselected">dirsDeselected</A></B></CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The directories which matched at least one include and no excludes
222 but which a selector discarded.</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
227<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsExcluded">dirsExcluded</A></B></CODE>
228
229<BR>
230&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The directories which matched at least one include and at least one
231 exclude.</TD>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
236<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsIncluded">dirsIncluded</A></B></CODE>
237
238<BR>
239&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The directories which matched at least one include and no excludes
240 and were selected.</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsNotIncluded">dirsNotIncluded</A></B></CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The directories which were found and did not match any includes.</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>protected &nbsp;boolean</CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#everythingIncluded">everythingIncluded</A></B></CODE>
254
255<BR>
256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether or not everything tested so far has been included.</TD>
257</TR>
258<TR BGCOLOR="white" CLASS="TableRowColor">
259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260<CODE>protected &nbsp;java.lang.String[]</CODE></FONT></TD>
261<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#excludes">excludes</A></B></CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The patterns for the files to be excluded.</TD>
265</TR>
266<TR BGCOLOR="white" CLASS="TableRowColor">
267<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
269<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesDeselected">filesDeselected</A></B></CODE>
270
271<BR>
272&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The files which matched at least one include and no excludes and
273 which a selector discarded.</TD>
274</TR>
275<TR BGCOLOR="white" CLASS="TableRowColor">
276<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
277<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
278<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesExcluded">filesExcluded</A></B></CODE>
279
280<BR>
281&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The files which matched at least one include and at least
282 one exclude.</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesIncluded">filesIncluded</A></B></CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The files which matched at least one include and no excludes
291 and were selected.</TD>
292</TR>
293<TR BGCOLOR="white" CLASS="TableRowColor">
294<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
295<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
296<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesNotIncluded">filesNotIncluded</A></B></CODE>
297
298<BR>
299&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The files which did not match any includes or selectors.</TD>
300</TR>
301<TR BGCOLOR="white" CLASS="TableRowColor">
302<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303<CODE>protected &nbsp;boolean</CODE></FONT></TD>
304<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#haveSlowResults">haveSlowResults</A></B></CODE>
305
306<BR>
307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether or not our results were built by a slow scan.</TD>
308</TR>
309<TR BGCOLOR="white" CLASS="TableRowColor">
310<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311<CODE>protected &nbsp;java.lang.String[]</CODE></FONT></TD>
312<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#includes">includes</A></B></CODE>
313
314<BR>
315&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The patterns for the files to be included.</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>protected &nbsp;boolean</CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isCaseSensitive">isCaseSensitive</A></B></CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether or not the file system should be treated as a case sensitive
324 one.</TD>
325</TR>
326<TR BGCOLOR="white" CLASS="TableRowColor">
327<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328<CODE>protected &nbsp;<A HREF="../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A>[]</CODE></FONT></TD>
329<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#selectors">selectors</A></B></CODE>
330
331<BR>
332&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selectors that will filter which files are in our candidate list.</TD>
333</TR>
334</TABLE>
335&nbsp;
336<!-- ======== CONSTRUCTOR SUMMARY ======== -->
337
338<A NAME="constructor_summary"><!-- --></A>
339<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
340<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
341<TD COLSPAN=2><FONT SIZE="+2">
342<B>Constructor Summary</B></FONT></TD>
343</TR>
344<TR BGCOLOR="white" CLASS="TableRowColor">
345<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#DirectoryScanner()">DirectoryScanner</A></B>()</CODE>
346
347<BR>
348&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sole constructor.</TD>
349</TR>
350</TABLE>
351&nbsp;
352<!-- ========== METHOD SUMMARY =========== -->
353
354<A NAME="method_summary"><!-- --></A>
355<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
356<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
357<TD COLSPAN=2><FONT SIZE="+2">
358<B>Method Summary</B></FONT></TD>
359</TR>
360<TR BGCOLOR="white" CLASS="TableRowColor">
361<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362<CODE>static&nbsp;boolean</CODE></FONT></TD>
363<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#addDefaultExclude(java.lang.String)">addDefaultExclude</A></B>(java.lang.String&nbsp;s)</CODE>
364
365<BR>
366&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a pattern to the default excludes unless it is already a
367 default exclude.</TD>
368</TR>
369<TR BGCOLOR="white" CLASS="TableRowColor">
370<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
371<CODE>&nbsp;void</CODE></FONT></TD>
372<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#addDefaultExcludes()">addDefaultExcludes</A></B>()</CODE>
373
374<BR>
375&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add default exclusions to the current exclusions set.</TD>
376</TR>
377<TR BGCOLOR="white" CLASS="TableRowColor">
378<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
379<CODE>&nbsp;void</CODE></FONT></TD>
380<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#addExcludes(java.lang.String[])">addExcludes</A></B>(java.lang.String[]&nbsp;excludes)</CODE>
381
382<BR>
383&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add to the list of exclude patterns to use.</TD>
384</TR>
385<TR BGCOLOR="white" CLASS="TableRowColor">
386<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
387<CODE>protected &nbsp;void</CODE></FONT></TD>
388<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#clearResults()">clearResults</A></B>()</CODE>
389
390<BR>
391&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear the result caches for a scan.</TD>
392</TR>
393<TR BGCOLOR="white" CLASS="TableRowColor">
394<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
395<CODE>protected &nbsp;boolean</CODE></FONT></TD>
396<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#couldHoldIncluded(java.lang.String)">couldHoldIncluded</A></B>(java.lang.String&nbsp;name)</CODE>
397
398<BR>
399&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a name matches the start of at least one include
400 pattern.</TD>
401</TR>
402<TR BGCOLOR="white" CLASS="TableRowColor">
403<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404<CODE>&nbsp;java.io.File</CODE></FONT></TD>
405<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getBasedir()">getBasedir</A></B>()</CODE>
406
407<BR>
408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the base directory to be scanned.</TD>
409</TR>
410<TR BGCOLOR="white" CLASS="TableRowColor">
411<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
413<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getDefaultExcludes()">getDefaultExcludes</A></B>()</CODE>
414
415<BR>
416&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the list of patterns that should be excluded by default.</TD>
417</TR>
418<TR BGCOLOR="white" CLASS="TableRowColor">
419<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
420<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
421<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getDeselectedDirectories()">getDeselectedDirectories</A></B>()</CODE>
422
423<BR>
424&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the directories which were selected out and
425 therefore not ultimately included.</TD>
426</TR>
427<TR BGCOLOR="white" CLASS="TableRowColor">
428<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
429<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
430<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getDeselectedFiles()">getDeselectedFiles</A></B>()</CODE>
431
432<BR>
433&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the files which were selected out and
434 therefore not ultimately included.</TD>
435</TR>
436<TR BGCOLOR="white" CLASS="TableRowColor">
437<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
438<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
439<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getExcludedDirectories()">getExcludedDirectories</A></B>()</CODE>
440
441<BR>
442&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the directories which matched at least one of the
443 include patterns and at least one of the exclude patterns.</TD>
444</TR>
445<TR BGCOLOR="white" CLASS="TableRowColor">
446<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
447<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
448<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getExcludedFiles()">getExcludedFiles</A></B>()</CODE>
449
450<BR>
451&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the files which matched at least one of the
452 include patterns and at least one of the exclude patterns.</TD>
453</TR>
454<TR BGCOLOR="white" CLASS="TableRowColor">
455<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
456<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
457<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getIncludedDirectories()">getIncludedDirectories</A></B>()</CODE>
458
459<BR>
460&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the directories which matched at least one of the
461 include patterns and none of the exclude patterns.</TD>
462</TR>
463<TR BGCOLOR="white" CLASS="TableRowColor">
464<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
465<CODE>&nbsp;int</CODE></FONT></TD>
466<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getIncludedDirsCount()">getIncludedDirsCount</A></B>()</CODE>
467
468<BR>
469&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the count of included directories.</TD>
470</TR>
471<TR BGCOLOR="white" CLASS="TableRowColor">
472<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
473<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
474<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getIncludedFiles()">getIncludedFiles</A></B>()</CODE>
475
476<BR>
477&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the files which matched at least one of the
478 include patterns and none of the exclude patterns.</TD>
479</TR>
480<TR BGCOLOR="white" CLASS="TableRowColor">
481<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
482<CODE>&nbsp;int</CODE></FONT></TD>
483<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getIncludedFilesCount()">getIncludedFilesCount</A></B>()</CODE>
484
485<BR>
486&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the count of included files.</TD>
487</TR>
488<TR BGCOLOR="white" CLASS="TableRowColor">
489<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
490<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
491<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getNotIncludedDirectories()">getNotIncludedDirectories</A></B>()</CODE>
492
493<BR>
494&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the directories which matched none of the include
495 patterns.</TD>
496</TR>
497<TR BGCOLOR="white" CLASS="TableRowColor">
498<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
499<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
500<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getNotIncludedFiles()">getNotIncludedFiles</A></B>()</CODE>
501
502<BR>
503&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the names of the files which matched none of the include
504 patterns.</TD>
505</TR>
506<TR BGCOLOR="white" CLASS="TableRowColor">
507<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
508<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/types/Resource.html" title="class in org.apache.tools.ant.types">Resource</A></CODE></FONT></TD>
509<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getResource(java.lang.String)">getResource</A></B>(java.lang.String&nbsp;name)</CODE>
510
511<BR>
512&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the named resource.</TD>
513</TR>
514<TR BGCOLOR="white" CLASS="TableRowColor">
515<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
516<CODE>&nbsp;boolean</CODE></FONT></TD>
517<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isCaseSensitive()">isCaseSensitive</A></B>()</CODE>
518
519<BR>
520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find out whether include exclude patterns are matched in a
521 case sensitive way.</TD>
522</TR>
523<TR BGCOLOR="white" CLASS="TableRowColor">
524<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
525<CODE>&nbsp;boolean</CODE></FONT></TD>
526<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isEverythingIncluded()">isEverythingIncluded</A></B>()</CODE>
527
528<BR>
529&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return whether or not the scanner has included all the files or
530 directories it has come across so far.</TD>
531</TR>
532<TR BGCOLOR="white" CLASS="TableRowColor">
533<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
534<CODE>protected &nbsp;boolean</CODE></FONT></TD>
535<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isExcluded(java.lang.String)">isExcluded</A></B>(java.lang.String&nbsp;name)</CODE>
536
537<BR>
538&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a name matches against at least one exclude
539 pattern.</TD>
540</TR>
541<TR BGCOLOR="white" CLASS="TableRowColor">
542<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
543<CODE>&nbsp;boolean</CODE></FONT></TD>
544<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isFollowSymlinks()">isFollowSymlinks</A></B>()</CODE>
545
546<BR>
547&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get whether or not a DirectoryScanner follows symbolic links.</TD>
548</TR>
549<TR BGCOLOR="white" CLASS="TableRowColor">
550<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
551<CODE>protected &nbsp;boolean</CODE></FONT></TD>
552<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isIncluded(java.lang.String)">isIncluded</A></B>(java.lang.String&nbsp;name)</CODE>
553
554<BR>
555&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a name matches against at least one include
556 pattern.</TD>
557</TR>
558<TR BGCOLOR="white" CLASS="TableRowColor">
559<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
560<CODE>protected &nbsp;boolean</CODE></FONT></TD>
561<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#isSelected(java.lang.String, java.io.File)">isSelected</A></B>(java.lang.String&nbsp;name,
562 java.io.File&nbsp;file)</CODE>
563
564<BR>
565&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether a file should be selected.</TD>
566</TR>
567<TR BGCOLOR="white" CLASS="TableRowColor">
568<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
569<CODE>static&nbsp;boolean</CODE></FONT></TD>
570<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#match(java.lang.String, java.lang.String)">match</A></B>(java.lang.String&nbsp;pattern,
571 java.lang.String&nbsp;str)</CODE>
572
573<BR>
574&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a string matches against a pattern.</TD>
575</TR>
576<TR BGCOLOR="white" CLASS="TableRowColor">
577<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
578<CODE>protected static&nbsp;boolean</CODE></FONT></TD>
579<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#match(java.lang.String, java.lang.String, boolean)">match</A></B>(java.lang.String&nbsp;pattern,
580 java.lang.String&nbsp;str,
581 boolean&nbsp;isCaseSensitive)</CODE>
582
583<BR>
584&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a string matches against a pattern.</TD>
585</TR>
586<TR BGCOLOR="white" CLASS="TableRowColor">
587<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
588<CODE>protected static&nbsp;boolean</CODE></FONT></TD>
589<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#matchPath(java.lang.String, java.lang.String)">matchPath</A></B>(java.lang.String&nbsp;pattern,
590 java.lang.String&nbsp;str)</CODE>
591
592<BR>
593&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a given path matches a given pattern.</TD>
594</TR>
595<TR BGCOLOR="white" CLASS="TableRowColor">
596<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
597<CODE>protected static&nbsp;boolean</CODE></FONT></TD>
598<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#matchPath(java.lang.String, java.lang.String, boolean)">matchPath</A></B>(java.lang.String&nbsp;pattern,
599 java.lang.String&nbsp;str,
600 boolean&nbsp;isCaseSensitive)</CODE>
601
602<BR>
603&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a given path matches a given pattern.</TD>
604</TR>
605<TR BGCOLOR="white" CLASS="TableRowColor">
606<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
607<CODE>protected static&nbsp;boolean</CODE></FONT></TD>
608<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#matchPatternStart(java.lang.String, java.lang.String)">matchPatternStart</A></B>(java.lang.String&nbsp;pattern,
609 java.lang.String&nbsp;str)</CODE>
610
611<BR>
612&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a given path matches the start of a given
613 pattern up to the first "**".</TD>
614</TR>
615<TR BGCOLOR="white" CLASS="TableRowColor">
616<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
617<CODE>protected static&nbsp;boolean</CODE></FONT></TD>
618<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#matchPatternStart(java.lang.String, java.lang.String, boolean)">matchPatternStart</A></B>(java.lang.String&nbsp;pattern,
619 java.lang.String&nbsp;str,
620 boolean&nbsp;isCaseSensitive)</CODE>
621
622<BR>
623&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether or not a given path matches the start of a given
624 pattern up to the first "**".</TD>
625</TR>
626<TR BGCOLOR="white" CLASS="TableRowColor">
627<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
628<CODE>static&nbsp;boolean</CODE></FONT></TD>
629<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#removeDefaultExclude(java.lang.String)">removeDefaultExclude</A></B>(java.lang.String&nbsp;s)</CODE>
630
631<BR>
632&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a string if it is a default exclude.</TD>
633</TR>
634<TR BGCOLOR="white" CLASS="TableRowColor">
635<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
636<CODE>static&nbsp;void</CODE></FONT></TD>
637<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#resetDefaultExcludes()">resetDefaultExcludes</A></B>()</CODE>
638
639<BR>
640&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Go back to the hardwired default exclude patterns.</TD>
641</TR>
642<TR BGCOLOR="white" CLASS="TableRowColor">
643<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
644<CODE>&nbsp;void</CODE></FONT></TD>
645<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#scan()">scan</A></B>()</CODE>
646
647<BR>
648&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scan the base directory for files which match at least one include
649 pattern and don't match any exclude patterns.</TD>
650</TR>
651<TR BGCOLOR="white" CLASS="TableRowColor">
652<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
653<CODE>protected &nbsp;void</CODE></FONT></TD>
654<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#scandir(java.io.File, java.lang.String, boolean)">scandir</A></B>(java.io.File&nbsp;dir,
655 java.lang.String&nbsp;vpath,
656 boolean&nbsp;fast)</CODE>
657
658<BR>
659&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scan the given directory for files and directories.</TD>
660</TR>
661<TR BGCOLOR="white" CLASS="TableRowColor">
662<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
663<CODE>&nbsp;void</CODE></FONT></TD>
664<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setBasedir(java.io.File)">setBasedir</A></B>(java.io.File&nbsp;basedir)</CODE>
665
666<BR>
667&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the base directory to be scanned.</TD>
668</TR>
669<TR BGCOLOR="white" CLASS="TableRowColor">
670<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
671<CODE>&nbsp;void</CODE></FONT></TD>
672<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setBasedir(java.lang.String)">setBasedir</A></B>(java.lang.String&nbsp;basedir)</CODE>
673
674<BR>
675&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the base directory to be scanned.</TD>
676</TR>
677<TR BGCOLOR="white" CLASS="TableRowColor">
678<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
679<CODE>&nbsp;void</CODE></FONT></TD>
680<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setCaseSensitive(boolean)">setCaseSensitive</A></B>(boolean&nbsp;isCaseSensitive)</CODE>
681
682<BR>
683&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether or not include and exclude patterns are matched
684 in a case sensitive way.</TD>
685</TR>
686<TR BGCOLOR="white" CLASS="TableRowColor">
687<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
688<CODE>&nbsp;void</CODE></FONT></TD>
689<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setExcludes(java.lang.String[])">setExcludes</A></B>(java.lang.String[]&nbsp;excludes)</CODE>
690
691<BR>
692&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the list of exclude patterns to use.</TD>
693</TR>
694<TR BGCOLOR="white" CLASS="TableRowColor">
695<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
696<CODE>&nbsp;void</CODE></FONT></TD>
697<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setFollowSymlinks(boolean)">setFollowSymlinks</A></B>(boolean&nbsp;followSymlinks)</CODE>
698
699<BR>
700&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether or not symbolic links should be followed.</TD>
701</TR>
702<TR BGCOLOR="white" CLASS="TableRowColor">
703<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
704<CODE>&nbsp;void</CODE></FONT></TD>
705<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setIncludes(java.lang.String[])">setIncludes</A></B>(java.lang.String[]&nbsp;includes)</CODE>
706
707<BR>
708&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the list of include patterns to use.</TD>
709</TR>
710<TR BGCOLOR="white" CLASS="TableRowColor">
711<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
712<CODE>&nbsp;void</CODE></FONT></TD>
713<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#setSelectors(org.apache.tools.ant.types.selectors.FileSelector[])">setSelectors</A></B>(<A HREF="../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A>[]&nbsp;selectors)</CODE>
714
715<BR>
716&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the selectors that will select the filelist.</TD>
717</TR>
718<TR BGCOLOR="white" CLASS="TableRowColor">
719<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
720<CODE>protected &nbsp;void</CODE></FONT></TD>
721<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()">slowScan</A></B>()</CODE>
722
723<BR>
724&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Top level invocation for a slow scan.</TD>
725</TR>
726</TABLE>
727&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
728<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
729<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
730<TD><B>Methods inherited from class java.lang.Object</B></TD>
731</TR>
732<TR BGCOLOR="white" CLASS="TableRowColor">
733<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
734</TR>
735</TABLE>
736&nbsp;
737<P>
738
739<!-- ============ FIELD DETAIL =========== -->
740
741<A NAME="field_detail"><!-- --></A>
742<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
743<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
744<TD COLSPAN=1><FONT SIZE="+2">
745<B>Field Detail</B></FONT></TD>
746</TR>
747</TABLE>
748
749<A NAME="DEFAULTEXCLUDES"><!-- --></A><H3>
750DEFAULTEXCLUDES</H3>
751<PRE>
752protected static final java.lang.String[] <B>DEFAULTEXCLUDES</B></PRE>
753<DL>
754<DD><B>Deprecated.</B>&nbsp;<I>use the <A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#getDefaultExcludes()"><CODE>getDefaultExcludes</CODE></A> method instead.</I>
755<P>
756<DD>Patterns which should be excluded by default.
757
758 <p>Note that you can now add patterns to the list of default
759 excludes. Added patterns will not become part of this array
760 that has only been kept around for backwards compatibility
761 reasons.</p>
762<P>
763<DL>
764</DL>
765</DL>
766<HR>
767
768<A NAME="basedir"><!-- --></A><H3>
769basedir</H3>
770<PRE>
771protected java.io.File <B>basedir</B></PRE>
772<DL>
773<DD>The base directory to be scanned.
774<P>
775<DL>
776</DL>
777</DL>
778<HR>
779
780<A NAME="includes"><!-- --></A><H3>
781includes</H3>
782<PRE>
783protected java.lang.String[] <B>includes</B></PRE>
784<DL>
785<DD>The patterns for the files to be included.
786<P>
787<DL>
788</DL>
789</DL>
790<HR>
791
792<A NAME="excludes"><!-- --></A><H3>
793excludes</H3>
794<PRE>
795protected java.lang.String[] <B>excludes</B></PRE>
796<DL>
797<DD>The patterns for the files to be excluded.
798<P>
799<DL>
800</DL>
801</DL>
802<HR>
803
804<A NAME="selectors"><!-- --></A><H3>
805selectors</H3>
806<PRE>
807protected <A HREF="../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A>[] <B>selectors</B></PRE>
808<DL>
809<DD>Selectors that will filter which files are in our candidate list.
810<P>
811<DL>
812</DL>
813</DL>
814<HR>
815
816<A NAME="filesIncluded"><!-- --></A><H3>
817filesIncluded</H3>
818<PRE>
819protected java.util.Vector <B>filesIncluded</B></PRE>
820<DL>
821<DD>The files which matched at least one include and no excludes
822 and were selected.
823<P>
824<DL>
825</DL>
826</DL>
827<HR>
828
829<A NAME="filesNotIncluded"><!-- --></A><H3>
830filesNotIncluded</H3>
831<PRE>
832protected java.util.Vector <B>filesNotIncluded</B></PRE>
833<DL>
834<DD>The files which did not match any includes or selectors.
835<P>
836<DL>
837</DL>
838</DL>
839<HR>
840
841<A NAME="filesExcluded"><!-- --></A><H3>
842filesExcluded</H3>
843<PRE>
844protected java.util.Vector <B>filesExcluded</B></PRE>
845<DL>
846<DD>The files which matched at least one include and at least
847 one exclude.
848<P>
849<DL>
850</DL>
851</DL>
852<HR>
853
854<A NAME="dirsIncluded"><!-- --></A><H3>
855dirsIncluded</H3>
856<PRE>
857protected java.util.Vector <B>dirsIncluded</B></PRE>
858<DL>
859<DD>The directories which matched at least one include and no excludes
860 and were selected.
861<P>
862<DL>
863</DL>
864</DL>
865<HR>
866
867<A NAME="dirsNotIncluded"><!-- --></A><H3>
868dirsNotIncluded</H3>
869<PRE>
870protected java.util.Vector <B>dirsNotIncluded</B></PRE>
871<DL>
872<DD>The directories which were found and did not match any includes.
873<P>
874<DL>
875</DL>
876</DL>
877<HR>
878
879<A NAME="dirsExcluded"><!-- --></A><H3>
880dirsExcluded</H3>
881<PRE>
882protected java.util.Vector <B>dirsExcluded</B></PRE>
883<DL>
884<DD>The directories which matched at least one include and at least one
885 exclude.
886<P>
887<DL>
888</DL>
889</DL>
890<HR>
891
892<A NAME="filesDeselected"><!-- --></A><H3>
893filesDeselected</H3>
894<PRE>
895protected java.util.Vector <B>filesDeselected</B></PRE>
896<DL>
897<DD>The files which matched at least one include and no excludes and
898 which a selector discarded.
899<P>
900<DL>
901</DL>
902</DL>
903<HR>
904
905<A NAME="dirsDeselected"><!-- --></A><H3>
906dirsDeselected</H3>
907<PRE>
908protected java.util.Vector <B>dirsDeselected</B></PRE>
909<DL>
910<DD>The directories which matched at least one include and no excludes
911 but which a selector discarded.
912<P>
913<DL>
914</DL>
915</DL>
916<HR>
917
918<A NAME="haveSlowResults"><!-- --></A><H3>
919haveSlowResults</H3>
920<PRE>
921protected boolean <B>haveSlowResults</B></PRE>
922<DL>
923<DD>Whether or not our results were built by a slow scan.
924<P>
925<DL>
926</DL>
927</DL>
928<HR>
929
930<A NAME="isCaseSensitive"><!-- --></A><H3>
931isCaseSensitive</H3>
932<PRE>
933protected boolean <B>isCaseSensitive</B></PRE>
934<DL>
935<DD>Whether or not the file system should be treated as a case sensitive
936 one.
937<P>
938<DL>
939</DL>
940</DL>
941<HR>
942
943<A NAME="everythingIncluded"><!-- --></A><H3>
944everythingIncluded</H3>
945<PRE>
946protected boolean <B>everythingIncluded</B></PRE>
947<DL>
948<DD>Whether or not everything tested so far has been included.
949<P>
950<DL>
951</DL>
952</DL>
953
954<!-- ========= CONSTRUCTOR DETAIL ======== -->
955
956<A NAME="constructor_detail"><!-- --></A>
957<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
958<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
959<TD COLSPAN=1><FONT SIZE="+2">
960<B>Constructor Detail</B></FONT></TD>
961</TR>
962</TABLE>
963
964<A NAME="DirectoryScanner()"><!-- --></A><H3>
965DirectoryScanner</H3>
966<PRE>
967public <B>DirectoryScanner</B>()</PRE>
968<DL>
969<DD>Sole constructor.
970<P>
971</DL>
972
973<!-- ============ METHOD DETAIL ========== -->
974
975<A NAME="method_detail"><!-- --></A>
976<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
977<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
978<TD COLSPAN=1><FONT SIZE="+2">
979<B>Method Detail</B></FONT></TD>
980</TR>
981</TABLE>
982
983<A NAME="matchPatternStart(java.lang.String, java.lang.String)"><!-- --></A><H3>
984matchPatternStart</H3>
985<PRE>
986protected static boolean <B>matchPatternStart</B>(java.lang.String&nbsp;pattern,
987 java.lang.String&nbsp;str)</PRE>
988<DL>
989<DD>Test whether or not a given path matches the start of a given
990 pattern up to the first "**".
991 <p>
992 This is not a general purpose test and should only be used if you
993 can live with false positives. For example, <code>pattern=**\a</code>
994 and <code>str=b</code> will yield <code>true</code>.
995<P>
996<DD><DL>
997</DL>
998</DD>
999<DD><DL>
1000<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - The pattern to match against. Must not be
1001 <code>null</code>.<DD><CODE>str</CODE> - The path to match, as a String. Must not be
1002 <code>null</code>.
1003<DT><B>Returns:</B><DD>whether or not a given path matches the start of a given
1004 pattern up to the first "**".</DL>
1005</DD>
1006</DL>
1007<HR>
1008
1009<A NAME="matchPatternStart(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
1010matchPatternStart</H3>
1011<PRE>
1012protected static boolean <B>matchPatternStart</B>(java.lang.String&nbsp;pattern,
1013 java.lang.String&nbsp;str,
1014 boolean&nbsp;isCaseSensitive)</PRE>
1015<DL>
1016<DD>Test whether or not a given path matches the start of a given
1017 pattern up to the first "**".
1018 <p>
1019 This is not a general purpose test and should only be used if you
1020 can live with false positives. For example, <code>pattern=**\a</code>
1021 and <code>str=b</code> will yield <code>true</code>.
1022<P>
1023<DD><DL>
1024</DL>
1025</DD>
1026<DD><DL>
1027<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - The pattern to match against. Must not be
1028 <code>null</code>.<DD><CODE>str</CODE> - The path to match, as a String. Must not be
1029 <code>null</code>.<DD><CODE>isCaseSensitive</CODE> - Whether or not matching should be performed
1030 case sensitively.
1031<DT><B>Returns:</B><DD>whether or not a given path matches the start of a given
1032 pattern up to the first "**".</DL>
1033</DD>
1034</DL>
1035<HR>
1036
1037<A NAME="matchPath(java.lang.String, java.lang.String)"><!-- --></A><H3>
1038matchPath</H3>
1039<PRE>
1040protected static boolean <B>matchPath</B>(java.lang.String&nbsp;pattern,
1041 java.lang.String&nbsp;str)</PRE>
1042<DL>
1043<DD>Test whether or not a given path matches a given pattern.
1044<P>
1045<DD><DL>
1046</DL>
1047</DD>
1048<DD><DL>
1049<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - The pattern to match against. Must not be
1050 <code>null</code>.<DD><CODE>str</CODE> - The path to match, as a String. Must not be
1051 <code>null</code>.
1052<DT><B>Returns:</B><DD><code>true</code> if the pattern matches against the string,
1053 or <code>false</code> otherwise.</DL>
1054</DD>
1055</DL>
1056<HR>
1057
1058<A NAME="matchPath(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
1059matchPath</H3>
1060<PRE>
1061protected static boolean <B>matchPath</B>(java.lang.String&nbsp;pattern,
1062 java.lang.String&nbsp;str,
1063 boolean&nbsp;isCaseSensitive)</PRE>
1064<DL>
1065<DD>Test whether or not a given path matches a given pattern.
1066<P>
1067<DD><DL>
1068</DL>
1069</DD>
1070<DD><DL>
1071<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - The pattern to match against. Must not be
1072 <code>null</code>.<DD><CODE>str</CODE> - The path to match, as a String. Must not be
1073 <code>null</code>.<DD><CODE>isCaseSensitive</CODE> - Whether or not matching should be performed
1074 case sensitively.
1075<DT><B>Returns:</B><DD><code>true</code> if the pattern matches against the string,
1076 or <code>false</code> otherwise.</DL>
1077</DD>
1078</DL>
1079<HR>
1080
1081<A NAME="match(java.lang.String, java.lang.String)"><!-- --></A><H3>
1082match</H3>
1083<PRE>
1084public static boolean <B>match</B>(java.lang.String&nbsp;pattern,
1085 java.lang.String&nbsp;str)</PRE>
1086<DL>
1087<DD>Test whether or not a string matches against a pattern.
1088 The pattern may contain two special characters:<br>
1089 '*' means zero or more characters<br>
1090 '?' means one and only one character
1091<P>
1092<DD><DL>
1093</DL>
1094</DD>
1095<DD><DL>
1096<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - The pattern to match against.
1097 Must not be <code>null</code>.<DD><CODE>str</CODE> - The string which must be matched against the pattern.
1098 Must not be <code>null</code>.
1099<DT><B>Returns:</B><DD><code>true</code> if the string matches against the pattern,
1100 or <code>false</code> otherwise.</DL>
1101</DD>
1102</DL>
1103<HR>
1104
1105<A NAME="match(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
1106match</H3>
1107<PRE>
1108protected static boolean <B>match</B>(java.lang.String&nbsp;pattern,
1109 java.lang.String&nbsp;str,
1110 boolean&nbsp;isCaseSensitive)</PRE>
1111<DL>
1112<DD>Test whether or not a string matches against a pattern.
1113 The pattern may contain two special characters:<br>
1114 '*' means zero or more characters<br>
1115 '?' means one and only one character
1116<P>
1117<DD><DL>
1118</DL>
1119</DD>
1120<DD><DL>
1121<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - The pattern to match against.
1122 Must not be <code>null</code>.<DD><CODE>str</CODE> - The string which must be matched against the pattern.
1123 Must not be <code>null</code>.<DD><CODE>isCaseSensitive</CODE> - Whether or not matching should be performed
1124 case sensitively.
1125<DT><B>Returns:</B><DD><code>true</code> if the string matches against the pattern,
1126 or <code>false</code> otherwise.</DL>
1127</DD>
1128</DL>
1129<HR>
1130
1131<A NAME="getDefaultExcludes()"><!-- --></A><H3>
1132getDefaultExcludes</H3>
1133<PRE>
1134public static java.lang.String[] <B>getDefaultExcludes</B>()</PRE>
1135<DL>
1136<DD>Get the list of patterns that should be excluded by default.
1137<P>
1138<DD><DL>
1139</DL>
1140</DD>
1141<DD><DL>
1142
1143<DT><B>Returns:</B><DD>An array of <code>String</code> based on the current
1144 contents of the <code>defaultExcludes</code>
1145 <code>Vector</code>.<DT><B>Since:</B></DT>
1146 <DD>Ant 1.6</DD>
1147</DL>
1148</DD>
1149</DL>
1150<HR>
1151
1152<A NAME="addDefaultExclude(java.lang.String)"><!-- --></A><H3>
1153addDefaultExclude</H3>
1154<PRE>
1155public static boolean <B>addDefaultExclude</B>(java.lang.String&nbsp;s)</PRE>
1156<DL>
1157<DD>Add a pattern to the default excludes unless it is already a
1158 default exclude.
1159<P>
1160<DD><DL>
1161</DL>
1162</DD>
1163<DD><DL>
1164<DT><B>Parameters:</B><DD><CODE>s</CODE> - A string to add as an exclude pattern.
1165<DT><B>Returns:</B><DD><code>true</code> if the string was added;
1166 <code>false</code> if it already existed.<DT><B>Since:</B></DT>
1167 <DD>Ant 1.6</DD>
1168</DL>
1169</DD>
1170</DL>
1171<HR>
1172
1173<A NAME="removeDefaultExclude(java.lang.String)"><!-- --></A><H3>
1174removeDefaultExclude</H3>
1175<PRE>
1176public static boolean <B>removeDefaultExclude</B>(java.lang.String&nbsp;s)</PRE>
1177<DL>
1178<DD>Remove a string if it is a default exclude.
1179<P>
1180<DD><DL>
1181</DL>
1182</DD>
1183<DD><DL>
1184<DT><B>Parameters:</B><DD><CODE>s</CODE> - The string to attempt to remove.
1185<DT><B>Returns:</B><DD><code>true</code> if <code>s</code> was a default
1186 exclude (and thus was removed);
1187 <code>false</code> if <code>s</code> was not
1188 in the default excludes list to begin with.<DT><B>Since:</B></DT>
1189 <DD>Ant 1.6</DD>
1190</DL>
1191</DD>
1192</DL>
1193<HR>
1194
1195<A NAME="resetDefaultExcludes()"><!-- --></A><H3>
1196resetDefaultExcludes</H3>
1197<PRE>
1198public static void <B>resetDefaultExcludes</B>()</PRE>
1199<DL>
1200<DD>Go back to the hardwired default exclude patterns.
1201<P>
1202<DD><DL>
1203</DL>
1204</DD>
1205<DD><DL>
1206<DT><B>Since:</B></DT>
1207 <DD>Ant 1.6</DD>
1208</DL>
1209</DD>
1210</DL>
1211<HR>
1212
1213<A NAME="setBasedir(java.lang.String)"><!-- --></A><H3>
1214setBasedir</H3>
1215<PRE>
1216public void <B>setBasedir</B>(java.lang.String&nbsp;basedir)</PRE>
1217<DL>
1218<DD>Set the base directory to be scanned. This is the directory which is
1219 scanned recursively. All '/' and '\' characters are replaced by
1220 <code>File.separatorChar</code>, so the separator used need not match
1221 <code>File.separatorChar</code>.
1222<P>
1223<DD><DL>
1224<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#setBasedir(java.lang.String)">setBasedir</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1225</DD>
1226<DD><DL>
1227<DT><B>Parameters:</B><DD><CODE>basedir</CODE> - The base directory to scan.
1228 Must not be <code>null</code>.</DL>
1229</DD>
1230</DL>
1231<HR>
1232
1233<A NAME="setBasedir(java.io.File)"><!-- --></A><H3>
1234setBasedir</H3>
1235<PRE>
1236public void <B>setBasedir</B>(java.io.File&nbsp;basedir)</PRE>
1237<DL>
1238<DD>Set the base directory to be scanned. This is the directory which is
1239 scanned recursively.
1240<P>
1241<DD><DL>
1242<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#setBasedir(java.io.File)">setBasedir</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1243</DD>
1244<DD><DL>
1245<DT><B>Parameters:</B><DD><CODE>basedir</CODE> - The base directory for scanning.
1246 Should not be <code>null</code>.</DL>
1247</DD>
1248</DL>
1249<HR>
1250
1251<A NAME="getBasedir()"><!-- --></A><H3>
1252getBasedir</H3>
1253<PRE>
1254public java.io.File <B>getBasedir</B>()</PRE>
1255<DL>
1256<DD>Return the base directory to be scanned.
1257 This is the directory which is scanned recursively.
1258<P>
1259<DD><DL>
1260<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getBasedir()">getBasedir</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1261</DD>
1262<DD><DL>
1263
1264<DT><B>Returns:</B><DD>the base directory to be scanned</DL>
1265</DD>
1266</DL>
1267<HR>
1268
1269<A NAME="isCaseSensitive()"><!-- --></A><H3>
1270isCaseSensitive</H3>
1271<PRE>
1272public boolean <B>isCaseSensitive</B>()</PRE>
1273<DL>
1274<DD>Find out whether include exclude patterns are matched in a
1275 case sensitive way.
1276<P>
1277<DD><DL>
1278</DL>
1279</DD>
1280<DD><DL>
1281
1282<DT><B>Returns:</B><DD>whether or not the scanning is case sensitive.<DT><B>Since:</B></DT>
1283 <DD>Ant 1.6</DD>
1284</DL>
1285</DD>
1286</DL>
1287<HR>
1288
1289<A NAME="setCaseSensitive(boolean)"><!-- --></A><H3>
1290setCaseSensitive</H3>
1291<PRE>
1292public void <B>setCaseSensitive</B>(boolean&nbsp;isCaseSensitive)</PRE>
1293<DL>
1294<DD>Set whether or not include and exclude patterns are matched
1295 in a case sensitive way.
1296<P>
1297<DD><DL>
1298<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#setCaseSensitive(boolean)">setCaseSensitive</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1299</DD>
1300<DD><DL>
1301<DT><B>Parameters:</B><DD><CODE>isCaseSensitive</CODE> - whether or not the file system should be
1302 regarded as a case sensitive one.</DL>
1303</DD>
1304</DL>
1305<HR>
1306
1307<A NAME="isFollowSymlinks()"><!-- --></A><H3>
1308isFollowSymlinks</H3>
1309<PRE>
1310public boolean <B>isFollowSymlinks</B>()</PRE>
1311<DL>
1312<DD>Get whether or not a DirectoryScanner follows symbolic links.
1313<P>
1314<DD><DL>
1315</DL>
1316</DD>
1317<DD><DL>
1318
1319<DT><B>Returns:</B><DD>flag indicating whether symbolic links should be followed.<DT><B>Since:</B></DT>
1320 <DD>Ant 1.6</DD>
1321</DL>
1322</DD>
1323</DL>
1324<HR>
1325
1326<A NAME="setFollowSymlinks(boolean)"><!-- --></A><H3>
1327setFollowSymlinks</H3>
1328<PRE>
1329public void <B>setFollowSymlinks</B>(boolean&nbsp;followSymlinks)</PRE>
1330<DL>
1331<DD>Set whether or not symbolic links should be followed.
1332<P>
1333<DD><DL>
1334</DL>
1335</DD>
1336<DD><DL>
1337<DT><B>Parameters:</B><DD><CODE>followSymlinks</CODE> - whether or not symbolic links should be followed.</DL>
1338</DD>
1339</DL>
1340<HR>
1341
1342<A NAME="setIncludes(java.lang.String[])"><!-- --></A><H3>
1343setIncludes</H3>
1344<PRE>
1345public void <B>setIncludes</B>(java.lang.String[]&nbsp;includes)</PRE>
1346<DL>
1347<DD>Set the list of include patterns to use. All '/' and '\' characters
1348 are replaced by <code>File.separatorChar</code>, so the separator used
1349 need not match <code>File.separatorChar</code>.
1350 <p>
1351 When a pattern ends with a '/' or '\', "**" is appended.
1352<P>
1353<DD><DL>
1354<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#setIncludes(java.lang.String[])">setIncludes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1355</DD>
1356<DD><DL>
1357<DT><B>Parameters:</B><DD><CODE>includes</CODE> - A list of include patterns.
1358 May be <code>null</code>, indicating that all files
1359 should be included. If a non-<code>null</code>
1360 list is given, all elements must be
1361 non-<code>null</code>.</DL>
1362</DD>
1363</DL>
1364<HR>
1365
1366<A NAME="setExcludes(java.lang.String[])"><!-- --></A><H3>
1367setExcludes</H3>
1368<PRE>
1369public void <B>setExcludes</B>(java.lang.String[]&nbsp;excludes)</PRE>
1370<DL>
1371<DD>Set the list of exclude patterns to use. All '/' and '\' characters
1372 are replaced by <code>File.separatorChar</code>, so the separator used
1373 need not match <code>File.separatorChar</code>.
1374 <p>
1375 When a pattern ends with a '/' or '\', "**" is appended.
1376<P>
1377<DD><DL>
1378<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#setExcludes(java.lang.String[])">setExcludes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1379</DD>
1380<DD><DL>
1381<DT><B>Parameters:</B><DD><CODE>excludes</CODE> - A list of exclude patterns.
1382 May be <code>null</code>, indicating that no files
1383 should be excluded. If a non-<code>null</code> list is
1384 given, all elements must be non-<code>null</code>.</DL>
1385</DD>
1386</DL>
1387<HR>
1388
1389<A NAME="addExcludes(java.lang.String[])"><!-- --></A><H3>
1390addExcludes</H3>
1391<PRE>
1392public void <B>addExcludes</B>(java.lang.String[]&nbsp;excludes)</PRE>
1393<DL>
1394<DD>Add to the list of exclude patterns to use. All '/' and '\'
1395 characters are replaced by <code>File.separatorChar</code>, so
1396 the separator used need not match <code>File.separatorChar</code>.
1397 <p>
1398 When a pattern ends with a '/' or '\', "**" is appended.
1399<P>
1400<DD><DL>
1401</DL>
1402</DD>
1403<DD><DL>
1404<DT><B>Parameters:</B><DD><CODE>excludes</CODE> - A list of exclude patterns.
1405 May be <code>null</code>, in which case the
1406 exclude patterns don't get changed at all.<DT><B>Since:</B></DT>
1407 <DD>Ant 1.6.3</DD>
1408</DL>
1409</DD>
1410</DL>
1411<HR>
1412
1413<A NAME="setSelectors(org.apache.tools.ant.types.selectors.FileSelector[])"><!-- --></A><H3>
1414setSelectors</H3>
1415<PRE>
1416public void <B>setSelectors</B>(<A HREF="../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A>[]&nbsp;selectors)</PRE>
1417<DL>
1418<DD>Set the selectors that will select the filelist.
1419<P>
1420<DD><DL>
1421<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html#setSelectors(org.apache.tools.ant.types.selectors.FileSelector[])">setSelectors</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html" title="interface in org.apache.tools.ant.types.selectors">SelectorScanner</A></CODE></DL>
1422</DD>
1423<DD><DL>
1424<DT><B>Parameters:</B><DD><CODE>selectors</CODE> - specifies the selectors to be invoked on a scan.</DL>
1425</DD>
1426</DL>
1427<HR>
1428
1429<A NAME="isEverythingIncluded()"><!-- --></A><H3>
1430isEverythingIncluded</H3>
1431<PRE>
1432public boolean <B>isEverythingIncluded</B>()</PRE>
1433<DL>
1434<DD>Return whether or not the scanner has included all the files or
1435 directories it has come across so far.
1436<P>
1437<DD><DL>
1438</DL>
1439</DD>
1440<DD><DL>
1441
1442<DT><B>Returns:</B><DD><code>true</code> if all files and directories which have
1443 been found so far have been included.</DL>
1444</DD>
1445</DL>
1446<HR>
1447
1448<A NAME="scan()"><!-- --></A><H3>
1449scan</H3>
1450<PRE>
1451public void <B>scan</B>()
1452 throws java.lang.IllegalStateException</PRE>
1453<DL>
1454<DD>Scan the base directory for files which match at least one include
1455 pattern and don't match any exclude patterns. If there are selectors
1456 then the files must pass muster there, as well.
1457<P>
1458<DD><DL>
1459<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#scan()">scan</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1460</DD>
1461<DD><DL>
1462
1463<DT><B>Throws:</B>
1464<DD><CODE>java.lang.IllegalStateException</CODE> - if the base directory was set
1465 incorrectly (i.e. if it is <code>null</code>, doesn't exist,
1466 or isn't a directory).</DL>
1467</DD>
1468</DL>
1469<HR>
1470
1471<A NAME="clearResults()"><!-- --></A><H3>
1472clearResults</H3>
1473<PRE>
1474protected void <B>clearResults</B>()</PRE>
1475<DL>
1476<DD>Clear the result caches for a scan.
1477<P>
1478<DD><DL>
1479</DL>
1480</DD>
1481<DD><DL>
1482</DL>
1483</DD>
1484</DL>
1485<HR>
1486
1487<A NAME="slowScan()"><!-- --></A><H3>
1488slowScan</H3>
1489<PRE>
1490protected void <B>slowScan</B>()</PRE>
1491<DL>
1492<DD>Top level invocation for a slow scan. A slow scan builds up a full
1493 list of excluded/included files/directories, whereas a fast scan
1494 will only have full results for included files, as it ignores
1495 directories which can't possibly hold any included files/directories.
1496 <p>
1497 Returns immediately if a slow scan has already been completed.
1498<P>
1499<DD><DL>
1500</DL>
1501</DD>
1502<DD><DL>
1503</DL>
1504</DD>
1505</DL>
1506<HR>
1507
1508<A NAME="scandir(java.io.File, java.lang.String, boolean)"><!-- --></A><H3>
1509scandir</H3>
1510<PRE>
1511protected void <B>scandir</B>(java.io.File&nbsp;dir,
1512 java.lang.String&nbsp;vpath,
1513 boolean&nbsp;fast)</PRE>
1514<DL>
1515<DD>Scan the given directory for files and directories. Found files and
1516 directories are placed in their respective collections, based on the
1517 matching of includes, excludes, and the selectors. When a directory
1518 is found, it is scanned recursively.
1519<P>
1520<DD><DL>
1521</DL>
1522</DD>
1523<DD><DL>
1524<DT><B>Parameters:</B><DD><CODE>dir</CODE> - The directory to scan. Must not be <code>null</code>.<DD><CODE>vpath</CODE> - The path relative to the base directory (needed to
1525 prevent problems with an absolute path when using
1526 dir). Must not be <code>null</code>.<DD><CODE>fast</CODE> - Whether or not this call is part of a fast scan.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesIncluded"><CODE>filesIncluded</CODE></A>,
1527<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesNotIncluded"><CODE>filesNotIncluded</CODE></A>,
1528<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#filesExcluded"><CODE>filesExcluded</CODE></A>,
1529<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsIncluded"><CODE>dirsIncluded</CODE></A>,
1530<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsNotIncluded"><CODE>dirsNotIncluded</CODE></A>,
1531<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#dirsExcluded"><CODE>dirsExcluded</CODE></A>,
1532<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1533</DD>
1534</DL>
1535<HR>
1536
1537<A NAME="isIncluded(java.lang.String)"><!-- --></A><H3>
1538isIncluded</H3>
1539<PRE>
1540protected boolean <B>isIncluded</B>(java.lang.String&nbsp;name)</PRE>
1541<DL>
1542<DD>Test whether or not a name matches against at least one include
1543 pattern.
1544<P>
1545<DD><DL>
1546</DL>
1547</DD>
1548<DD><DL>
1549<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name to match. Must not be <code>null</code>.
1550<DT><B>Returns:</B><DD><code>true</code> when the name matches against at least one
1551 include pattern, or <code>false</code> otherwise.</DL>
1552</DD>
1553</DL>
1554<HR>
1555
1556<A NAME="couldHoldIncluded(java.lang.String)"><!-- --></A><H3>
1557couldHoldIncluded</H3>
1558<PRE>
1559protected boolean <B>couldHoldIncluded</B>(java.lang.String&nbsp;name)</PRE>
1560<DL>
1561<DD>Test whether or not a name matches the start of at least one include
1562 pattern.
1563<P>
1564<DD><DL>
1565</DL>
1566</DD>
1567<DD><DL>
1568<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name to match. Must not be <code>null</code>.
1569<DT><B>Returns:</B><DD><code>true</code> when the name matches against the start of at
1570 least one include pattern, or <code>false</code> otherwise.</DL>
1571</DD>
1572</DL>
1573<HR>
1574
1575<A NAME="isExcluded(java.lang.String)"><!-- --></A><H3>
1576isExcluded</H3>
1577<PRE>
1578protected boolean <B>isExcluded</B>(java.lang.String&nbsp;name)</PRE>
1579<DL>
1580<DD>Test whether or not a name matches against at least one exclude
1581 pattern.
1582<P>
1583<DD><DL>
1584</DL>
1585</DD>
1586<DD><DL>
1587<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name to match. Must not be <code>null</code>.
1588<DT><B>Returns:</B><DD><code>true</code> when the name matches against at least one
1589 exclude pattern, or <code>false</code> otherwise.</DL>
1590</DD>
1591</DL>
1592<HR>
1593
1594<A NAME="isSelected(java.lang.String, java.io.File)"><!-- --></A><H3>
1595isSelected</H3>
1596<PRE>
1597protected boolean <B>isSelected</B>(java.lang.String&nbsp;name,
1598 java.io.File&nbsp;file)</PRE>
1599<DL>
1600<DD>Test whether a file should be selected.
1601<P>
1602<DD><DL>
1603</DL>
1604</DD>
1605<DD><DL>
1606<DT><B>Parameters:</B><DD><CODE>name</CODE> - the filename to check for selecting.<DD><CODE>file</CODE> - the java.io.File object for this filename.
1607<DT><B>Returns:</B><DD><code>false</code> when the selectors says that the file
1608 should not be selected, <code>true</code> otherwise.</DL>
1609</DD>
1610</DL>
1611<HR>
1612
1613<A NAME="getIncludedFiles()"><!-- --></A><H3>
1614getIncludedFiles</H3>
1615<PRE>
1616public java.lang.String[] <B>getIncludedFiles</B>()</PRE>
1617<DL>
1618<DD>Return the names of the files which matched at least one of the
1619 include patterns and none of the exclude patterns.
1620 The names are relative to the base directory.
1621<P>
1622<DD><DL>
1623<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getIncludedFiles()">getIncludedFiles</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1624</DD>
1625<DD><DL>
1626
1627<DT><B>Returns:</B><DD>the names of the files which matched at least one of the
1628 include patterns and none of the exclude patterns.</DL>
1629</DD>
1630</DL>
1631<HR>
1632
1633<A NAME="getIncludedFilesCount()"><!-- --></A><H3>
1634getIncludedFilesCount</H3>
1635<PRE>
1636public int <B>getIncludedFilesCount</B>()</PRE>
1637<DL>
1638<DD>Return the count of included files.
1639<P>
1640<DD><DL>
1641</DL>
1642</DD>
1643<DD><DL>
1644
1645<DT><B>Returns:</B><DD><code>int</code>.<DT><B>Since:</B></DT>
1646 <DD>Ant 1.6.3</DD>
1647</DL>
1648</DD>
1649</DL>
1650<HR>
1651
1652<A NAME="getNotIncludedFiles()"><!-- --></A><H3>
1653getNotIncludedFiles</H3>
1654<PRE>
1655public java.lang.String[] <B>getNotIncludedFiles</B>()</PRE>
1656<DL>
1657<DD>Return the names of the files which matched none of the include
1658 patterns. The names are relative to the base directory. This involves
1659 performing a slow scan if one has not already been completed.
1660<P>
1661<DD><DL>
1662<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getNotIncludedFiles()">getNotIncludedFiles</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1663</DD>
1664<DD><DL>
1665
1666<DT><B>Returns:</B><DD>the names of the files which matched none of the include
1667 patterns.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1668</DD>
1669</DL>
1670<HR>
1671
1672<A NAME="getExcludedFiles()"><!-- --></A><H3>
1673getExcludedFiles</H3>
1674<PRE>
1675public java.lang.String[] <B>getExcludedFiles</B>()</PRE>
1676<DL>
1677<DD>Return the names of the files which matched at least one of the
1678 include patterns and at least one of the exclude patterns.
1679 The names are relative to the base directory. This involves
1680 performing a slow scan if one has not already been completed.
1681<P>
1682<DD><DL>
1683<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getExcludedFiles()">getExcludedFiles</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1684</DD>
1685<DD><DL>
1686
1687<DT><B>Returns:</B><DD>the names of the files which matched at least one of the
1688 include patterns and at least one of the exclude patterns.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1689</DD>
1690</DL>
1691<HR>
1692
1693<A NAME="getDeselectedFiles()"><!-- --></A><H3>
1694getDeselectedFiles</H3>
1695<PRE>
1696public java.lang.String[] <B>getDeselectedFiles</B>()</PRE>
1697<DL>
1698<DD><p>Return the names of the files which were selected out and
1699 therefore not ultimately included.</p>
1700
1701 <p>The names are relative to the base directory. This involves
1702 performing a slow scan if one has not already been completed.</p>
1703<P>
1704<DD><DL>
1705<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html#getDeselectedFiles()">getDeselectedFiles</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html" title="interface in org.apache.tools.ant.types.selectors">SelectorScanner</A></CODE></DL>
1706</DD>
1707<DD><DL>
1708
1709<DT><B>Returns:</B><DD>the names of the files which were deselected.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1710</DD>
1711</DL>
1712<HR>
1713
1714<A NAME="getIncludedDirectories()"><!-- --></A><H3>
1715getIncludedDirectories</H3>
1716<PRE>
1717public java.lang.String[] <B>getIncludedDirectories</B>()</PRE>
1718<DL>
1719<DD>Return the names of the directories which matched at least one of the
1720 include patterns and none of the exclude patterns.
1721 The names are relative to the base directory.
1722<P>
1723<DD><DL>
1724<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getIncludedDirectories()">getIncludedDirectories</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1725</DD>
1726<DD><DL>
1727
1728<DT><B>Returns:</B><DD>the names of the directories which matched at least one of the
1729 include patterns and none of the exclude patterns.</DL>
1730</DD>
1731</DL>
1732<HR>
1733
1734<A NAME="getIncludedDirsCount()"><!-- --></A><H3>
1735getIncludedDirsCount</H3>
1736<PRE>
1737public int <B>getIncludedDirsCount</B>()</PRE>
1738<DL>
1739<DD>Return the count of included directories.
1740<P>
1741<DD><DL>
1742</DL>
1743</DD>
1744<DD><DL>
1745
1746<DT><B>Returns:</B><DD><code>int</code>.<DT><B>Since:</B></DT>
1747 <DD>Ant 1.6.3</DD>
1748</DL>
1749</DD>
1750</DL>
1751<HR>
1752
1753<A NAME="getNotIncludedDirectories()"><!-- --></A><H3>
1754getNotIncludedDirectories</H3>
1755<PRE>
1756public java.lang.String[] <B>getNotIncludedDirectories</B>()</PRE>
1757<DL>
1758<DD>Return the names of the directories which matched none of the include
1759 patterns. The names are relative to the base directory. This involves
1760 performing a slow scan if one has not already been completed.
1761<P>
1762<DD><DL>
1763<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getNotIncludedDirectories()">getNotIncludedDirectories</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1764</DD>
1765<DD><DL>
1766
1767<DT><B>Returns:</B><DD>the names of the directories which matched none of the include
1768 patterns.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1769</DD>
1770</DL>
1771<HR>
1772
1773<A NAME="getExcludedDirectories()"><!-- --></A><H3>
1774getExcludedDirectories</H3>
1775<PRE>
1776public java.lang.String[] <B>getExcludedDirectories</B>()</PRE>
1777<DL>
1778<DD>Return the names of the directories which matched at least one of the
1779 include patterns and at least one of the exclude patterns.
1780 The names are relative to the base directory. This involves
1781 performing a slow scan if one has not already been completed.
1782<P>
1783<DD><DL>
1784<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#getExcludedDirectories()">getExcludedDirectories</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1785</DD>
1786<DD><DL>
1787
1788<DT><B>Returns:</B><DD>the names of the directories which matched at least one of the
1789 include patterns and at least one of the exclude patterns.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1790</DD>
1791</DL>
1792<HR>
1793
1794<A NAME="getDeselectedDirectories()"><!-- --></A><H3>
1795getDeselectedDirectories</H3>
1796<PRE>
1797public java.lang.String[] <B>getDeselectedDirectories</B>()</PRE>
1798<DL>
1799<DD><p>Return the names of the directories which were selected out and
1800 therefore not ultimately included.</p>
1801
1802 <p>The names are relative to the base directory. This involves
1803 performing a slow scan if one has not already been completed.</p>
1804<P>
1805<DD><DL>
1806<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html#getDeselectedDirectories()">getDeselectedDirectories</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/types/selectors/SelectorScanner.html" title="interface in org.apache.tools.ant.types.selectors">SelectorScanner</A></CODE></DL>
1807</DD>
1808<DD><DL>
1809
1810<DT><B>Returns:</B><DD>the names of the directories which were deselected.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html#slowScan()"><CODE>slowScan()</CODE></A></DL>
1811</DD>
1812</DL>
1813<HR>
1814
1815<A NAME="addDefaultExcludes()"><!-- --></A><H3>
1816addDefaultExcludes</H3>
1817<PRE>
1818public void <B>addDefaultExcludes</B>()</PRE>
1819<DL>
1820<DD>Add default exclusions to the current exclusions set.
1821<P>
1822<DD><DL>
1823<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html#addDefaultExcludes()">addDefaultExcludes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/FileScanner.html" title="interface in org.apache.tools.ant">FileScanner</A></CODE></DL>
1824</DD>
1825<DD><DL>
1826</DL>
1827</DD>
1828</DL>
1829<HR>
1830
1831<A NAME="getResource(java.lang.String)"><!-- --></A><H3>
1832getResource</H3>
1833<PRE>
1834public <A HREF="../../../../org/apache/tools/ant/types/Resource.html" title="class in org.apache.tools.ant.types">Resource</A> <B>getResource</B>(java.lang.String&nbsp;name)</PRE>
1835<DL>
1836<DD>Get the named resource.
1837<P>
1838<DD><DL>
1839<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/types/ResourceFactory.html#getResource(java.lang.String)">getResource</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/types/ResourceFactory.html" title="interface in org.apache.tools.ant.types">ResourceFactory</A></CODE></DL>
1840</DD>
1841<DD><DL>
1842<DT><B>Parameters:</B><DD><CODE>name</CODE> - path name of the file relative to the dir attribute.
1843<DT><B>Returns:</B><DD>the resource with the given name.<DT><B>Since:</B></DT>
1844 <DD>Ant 1.5.2</DD>
1845</DL>
1846</DD>
1847</DL>
1848<!-- ========= END OF CLASS DATA ========= -->
1849<HR>
1850
1851
1852<!-- ======= START OF BOTTOM NAVBAR ====== -->
1853<A NAME="navbar_bottom"><!-- --></A>
1854<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1855<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1856<TR>
1857<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1858<A NAME="navbar_bottom_firstrow"><!-- --></A>
1859<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1860 <TR ALIGN="center" VALIGN="top">
1861 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1862 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1863 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1864 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1865 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1866 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1867 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1868 </TR>
1869</TABLE>
1870</TD>
1871<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1872</EM>
1873</TD>
1874</TR>
1875
1876<TR>
1877<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1878&nbsp;<A HREF="../../../../org/apache/tools/ant/Diagnostics.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
1879&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
1880<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1881 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
1882&nbsp;<A HREF="DirectoryScanner.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1883&nbsp;<SCRIPT type="text/javascript">
1884 <!--
1885 if(window==top) {
1886 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1887 }
1888 //-->
1889</SCRIPT>
1890<NOSCRIPT>
1891 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1892</NOSCRIPT>
1893
1894</FONT></TD>
1895</TR>
1896<TR>
1897<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1898 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1899<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1900DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1901</TR>
1902</TABLE>
1903<A NAME="skip-navbar_bottom"></A>
1904<!-- ======== END OF BOTTOM NAVBAR ======= -->
1905
1906<HR>
1907Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
1908</BODY>
1909</HTML>
Note: See TracBrowser for help on using the repository browser.