PageRenderTime 54ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/commons-io/apidocs/org/apache/commons/io/filefilter/ConditionalFileFilter.html

https://bitbucket.org/arkban/somersault
HTML | 299 lines | 246 code | 33 blank | 20 comment | 0 complexity | 6947f967aba5f565e7a691ee01dcf9c1 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, Apache-2.0
  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.6.0_20) on Tue Sep 28 21:40:06 EDT 2010 -->
  6. <TITLE>
  7. ConditionalFileFilter (Commons IO 1.5-SNAPSHOT)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-09-28">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="ConditionalFileFilter (Commons IO 1.5-SNAPSHOT)";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../../org/apache/commons/io/filefilter/CanWriteFileFilter.html" title="class in org.apache.commons.io.filefilter"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../../org/apache/commons/io/filefilter/DelegateFileFilter.html" title="class in org.apache.commons.io.filefilter"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../../index.html?org/apache/commons/io/filefilter/ConditionalFileFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="ConditionalFileFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.apache.commons.io.filefilter</FONT>
  80. <BR>
  81. Interface ConditionalFileFilter</H2>
  82. <DL>
  83. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/commons/io/filefilter/AndFileFilter.html" title="class in org.apache.commons.io.filefilter">AndFileFilter</A>, <A HREF="../../../../../org/apache/commons/io/filefilter/OrFileFilter.html" title="class in org.apache.commons.io.filefilter">OrFileFilter</A></DD>
  84. </DL>
  85. <HR>
  86. <DL>
  87. <DT><PRE>public interface <B>ConditionalFileFilter</B></DL>
  88. </PRE>
  89. <P>
  90. Defines operations for conditional file filters.
  91. <P>
  92. <P>
  93. <DL>
  94. <DT><B>Since:</B></DT>
  95. <DD>Commons IO 1.1</DD>
  96. <DT><B>Version:</B></DT>
  97. <DD>$Revision: 619103 $ $Date: 2008-02-06 14:01:17 -0500 (Wed, 06 Feb 2008) $</DD>
  98. <DT><B>Author:</B></DT>
  99. <DD>Steven Caswell</DD>
  100. </DL>
  101. <HR>
  102. <P>
  103. <!-- ========== METHOD SUMMARY =========== -->
  104. <A NAME="method_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Method Summary</B></FONT></TH>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  112. <CODE>&nbsp;void</CODE></FONT></TD>
  113. <TD><CODE><B><A HREF="../../../../../org/apache/commons/io/filefilter/ConditionalFileFilter.html#addFileFilter(org.apache.commons.io.filefilter.IOFileFilter)">addFileFilter</A></B>(<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&nbsp;ioFileFilter)</CODE>
  114. <BR>
  115. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified file filter to the list of file filters at the end of
  116. the list.</TD>
  117. </TR>
  118. <TR BGCOLOR="white" CLASS="TableRowColor">
  119. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  120. <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&gt;</CODE></FONT></TD>
  121. <TD><CODE><B><A HREF="../../../../../org/apache/commons/io/filefilter/ConditionalFileFilter.html#getFileFilters()">getFileFilters</A></B>()</CODE>
  122. <BR>
  123. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this conditional file filter's list of file filters.</TD>
  124. </TR>
  125. <TR BGCOLOR="white" CLASS="TableRowColor">
  126. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  127. <CODE>&nbsp;boolean</CODE></FONT></TD>
  128. <TD><CODE><B><A HREF="../../../../../org/apache/commons/io/filefilter/ConditionalFileFilter.html#removeFileFilter(org.apache.commons.io.filefilter.IOFileFilter)">removeFileFilter</A></B>(<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&nbsp;ioFileFilter)</CODE>
  129. <BR>
  130. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the specified file filter.</TD>
  131. </TR>
  132. <TR BGCOLOR="white" CLASS="TableRowColor">
  133. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  134. <CODE>&nbsp;void</CODE></FONT></TD>
  135. <TD><CODE><B><A HREF="../../../../../org/apache/commons/io/filefilter/ConditionalFileFilter.html#setFileFilters(java.util.List)">setFileFilters</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&gt;&nbsp;fileFilters)</CODE>
  136. <BR>
  137. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the list of file filters, replacing any previously configured
  138. file filters on this filter.</TD>
  139. </TR>
  140. </TABLE>
  141. &nbsp;
  142. <P>
  143. <!-- ============ METHOD DETAIL ========== -->
  144. <A NAME="method_detail"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  147. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  148. <B>Method Detail</B></FONT></TH>
  149. </TR>
  150. </TABLE>
  151. <A NAME="addFileFilter(org.apache.commons.io.filefilter.IOFileFilter)"><!-- --></A><H3>
  152. addFileFilter</H3>
  153. <PRE>
  154. void <B>addFileFilter</B>(<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&nbsp;ioFileFilter)</PRE>
  155. <DL>
  156. <DD>Adds the specified file filter to the list of file filters at the end of
  157. the list.
  158. <P>
  159. <DD><DL>
  160. <DT><B>Parameters:</B><DD><CODE>ioFileFilter</CODE> - the filter to be added<DT><B>Since:</B></DT>
  161. <DD>Commons IO 1.1</DD>
  162. </DL>
  163. </DD>
  164. </DL>
  165. <HR>
  166. <A NAME="getFileFilters()"><!-- --></A><H3>
  167. getFileFilters</H3>
  168. <PRE>
  169. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&gt; <B>getFileFilters</B>()</PRE>
  170. <DL>
  171. <DD>Returns this conditional file filter's list of file filters.
  172. <P>
  173. <DD><DL>
  174. <DT><B>Returns:</B><DD>the file filter list<DT><B>Since:</B></DT>
  175. <DD>Commons IO 1.1</DD>
  176. </DL>
  177. </DD>
  178. </DL>
  179. <HR>
  180. <A NAME="removeFileFilter(org.apache.commons.io.filefilter.IOFileFilter)"><!-- --></A><H3>
  181. removeFileFilter</H3>
  182. <PRE>
  183. boolean <B>removeFileFilter</B>(<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&nbsp;ioFileFilter)</PRE>
  184. <DL>
  185. <DD>Removes the specified file filter.
  186. <P>
  187. <DD><DL>
  188. <DT><B>Parameters:</B><DD><CODE>ioFileFilter</CODE> - filter to be removed
  189. <DT><B>Returns:</B><DD><code>true</code> if the filter was found in the list,
  190. <code>false</code> otherwise<DT><B>Since:</B></DT>
  191. <DD>Commons IO 1.1</DD>
  192. </DL>
  193. </DD>
  194. </DL>
  195. <HR>
  196. <A NAME="setFileFilters(java.util.List)"><!-- --></A><H3>
  197. setFileFilters</H3>
  198. <PRE>
  199. void <B>setFileFilters</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/commons/io/filefilter/IOFileFilter.html" title="interface in org.apache.commons.io.filefilter">IOFileFilter</A>&gt;&nbsp;fileFilters)</PRE>
  200. <DL>
  201. <DD>Sets the list of file filters, replacing any previously configured
  202. file filters on this filter.
  203. <P>
  204. <DD><DL>
  205. <DT><B>Parameters:</B><DD><CODE>fileFilters</CODE> - the list of filters<DT><B>Since:</B></DT>
  206. <DD>Commons IO 1.1</DD>
  207. </DL>
  208. </DD>
  209. </DL>
  210. <!-- ========= END OF CLASS DATA ========= -->
  211. <HR>
  212. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  213. <A NAME="navbar_bottom"><!-- --></A>
  214. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  215. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  216. <TR>
  217. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  218. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  219. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  220. <TR ALIGN="center" VALIGN="top">
  221. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  222. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  223. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  224. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  225. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  226. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  227. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  228. </TR>
  229. </TABLE>
  230. </TD>
  231. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  232. </EM>
  233. </TD>
  234. </TR>
  235. <TR>
  236. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  237. &nbsp;<A HREF="../../../../../org/apache/commons/io/filefilter/CanWriteFileFilter.html" title="class in org.apache.commons.io.filefilter"><B>PREV CLASS</B></A>&nbsp;
  238. &nbsp;<A HREF="../../../../../org/apache/commons/io/filefilter/DelegateFileFilter.html" title="class in org.apache.commons.io.filefilter"><B>NEXT CLASS</B></A></FONT></TD>
  239. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  240. <A HREF="../../../../../index.html?org/apache/commons/io/filefilter/ConditionalFileFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  241. &nbsp;<A HREF="ConditionalFileFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  242. &nbsp;<SCRIPT type="text/javascript">
  243. <!--
  244. if(window==top) {
  245. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  246. }
  247. //-->
  248. </SCRIPT>
  249. <NOSCRIPT>
  250. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  251. </NOSCRIPT>
  252. </FONT></TD>
  253. </TR>
  254. <TR>
  255. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  256. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  257. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  258. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  259. </TR>
  260. </TABLE>
  261. <A NAME="skip-navbar_bottom"></A>
  262. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  263. <HR>
  264. Copyright (c) 2002-2010 Apache Software Foundation
  265. </BODY>
  266. </HTML>