Java Doc for FileScanner.java in  » Build » ANT » org » apache » tools » ant » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Build » ANT » org.apache.tools.ant 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tools.ant.FileScanner

All known Subclasses:   org.apache.tools.ant.DirectoryScanner,
FileScanner
public interface FileScanner (Code)
An interface used to describe the actions required of any type of directory scanner.




Method Summary
 voidaddDefaultExcludes()
     Adds default exclusions to the current exclusions set.
 FilegetBasedir()
     Returns the base directory to be scanned.
 String[]getExcludedDirectories()
     Returns the names of the directories which matched at least one of the include patterns and at least one of the exclude patterns.
 String[]getExcludedFiles()
     Returns the names of the files which matched at least one of the include patterns and at least one of the exclude patterns.
 String[]getIncludedDirectories()
     Returns the names of the directories which matched at least one of the include patterns and none of the exclude patterns.
 String[]getIncludedFiles()
     Returns the names of the files which matched at least one of the include patterns and none of the exclude patterns.
 String[]getNotIncludedDirectories()
     Returns the names of the directories which matched none of the include patterns.
 String[]getNotIncludedFiles()
     Returns the names of the files which matched none of the include patterns.
 voidscan()
     Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
exception:
  IllegalStateException - if the base directory was setincorrectly (i.e.
 voidsetBasedir(String basedir)
     Sets the base directory to be scanned.
 voidsetBasedir(File basedir)
     Sets the base directory to be scanned.
 voidsetCaseSensitive(boolean isCaseSensitive)
     Sets whether or not the file system should be regarded as case sensitive.
 voidsetExcludes(String[] excludes)
     Sets the list of exclude patterns to use.
Parameters:
  excludes - A list of exclude patterns.May be null, indicating that no filesshould be excluded.
 voidsetIncludes(String[] includes)
     Sets the list of include patterns to use.
Parameters:
  includes - A list of include patterns.May be null, indicating that all filesshould be included.



Method Detail
addDefaultExcludes
void addDefaultExcludes()(Code)
Adds default exclusions to the current exclusions set.



getBasedir
File getBasedir()(Code)
Returns the base directory to be scanned. This is the directory which is scanned recursively. the base directory to be scanned



getExcludedDirectories
String[] getExcludedDirectories()(Code)
Returns the names of the directories which matched at least one of the include patterns and at least one of the exclude patterns. The names are relative to the base directory. the names of the directories which matched at least one of theinclude patterns and at least one of the exclude patterns.



getExcludedFiles
String[] getExcludedFiles()(Code)
Returns the names of the files which matched at least one of the include patterns and at least one of the exclude patterns. The names are relative to the base directory. the names of the files which matched at least one of theinclude patterns and at least one of the exclude patterns.



getIncludedDirectories
String[] getIncludedDirectories()(Code)
Returns the names of the directories which matched at least one of the include patterns and none of the exclude patterns. The names are relative to the base directory. the names of the directories which matched at least one of theinclude patterns and none of the exclude patterns.



getIncludedFiles
String[] getIncludedFiles()(Code)
Returns the names of the files which matched at least one of the include patterns and none of the exclude patterns. The names are relative to the base directory. the names of the files which matched at least one of theinclude patterns and none of the exclude patterns.



getNotIncludedDirectories
String[] getNotIncludedDirectories()(Code)
Returns the names of the directories which matched none of the include patterns. The names are relative to the base directory. the names of the directories which matched none of the includepatterns.



getNotIncludedFiles
String[] getNotIncludedFiles()(Code)
Returns the names of the files which matched none of the include patterns. The names are relative to the base directory. the names of the files which matched none of the includepatterns.



scan
void scan() throws IllegalStateException(Code)
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
exception:
  IllegalStateException - if the base directory was setincorrectly (i.e. if it is null, doesn't exist,or isn't a directory).



setBasedir
void setBasedir(String basedir)(Code)
Sets the base directory to be scanned. This is the directory which is scanned recursively. All '/' and '\' characters should be replaced by File.separatorChar, so the separator used need not match File.separatorChar.
Parameters:
  basedir - The base directory to scan.Must not be null.



setBasedir
void setBasedir(File basedir)(Code)
Sets the base directory to be scanned. This is the directory which is scanned recursively.
Parameters:
  basedir - The base directory for scanning.Should not be null.



setCaseSensitive
void setCaseSensitive(boolean isCaseSensitive)(Code)
Sets whether or not the file system should be regarded as case sensitive.
Parameters:
  isCaseSensitive - whether or not the file system should beregarded as a case sensitive one



setExcludes
void setExcludes(String[] excludes)(Code)
Sets the list of exclude patterns to use.
Parameters:
  excludes - A list of exclude patterns.May be null, indicating that no filesshould be excluded. If a non-null list isgiven, all elements must be non-null.



setIncludes
void setIncludes(String[] includes)(Code)
Sets the list of include patterns to use.
Parameters:
  includes - A list of include patterns.May be null, indicating that all filesshould be included. If a non-nulllist is given, all elements must benon-null.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.