PageRenderTime 56ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/demo/jakarta-oro-2.0.8/docs/api/org/apache/oro/io/AwkFilenameFilter.html

https://github.com/mdr/scalify
HTML | 293 lines | 232 code | 36 blank | 25 comment | 0 complexity | cd584959712714f97d259690a8aacf19 MD5 | raw file
  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) on Sun Dec 28 23:00:23 EST 2003 -->
  6. <TITLE>
  7. AwkFilenameFilter (Jakarta-ORO 2.0.8 API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.apache.oro.io.AwkFilenameFilter class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. parent.document.title="AwkFilenameFilter (Jakarta-ORO 2.0.8 API)";
  15. }
  16. </SCRIPT>
  17. </HEAD>
  18. <BODY BGCOLOR="white" onload="windowTitle();">
  19. <!-- ========= START OF TOP NAVBAR ======= -->
  20. <A NAME="navbar_top"><!-- --></A>
  21. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  22. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  23. <TR>
  24. <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  25. <A NAME="navbar_top_firstrow"><!-- --></A>
  26. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  27. <TR ALIGN="center" VALIGN="top">
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  35. </TR>
  36. </TABLE>
  37. </TD>
  38. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  39. <a href='http://jakarta.apache.org/oro/' target=_top><img src='../../../../../images/logoSmall.gif' alt='Jakarta ORO' width=48 height=47 align=center border=0 hspace=1 vspace=1></a></EM>
  40. </TD>
  41. </TR>
  42. <TR>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. &nbsp;PREV CLASS&nbsp;
  45. &nbsp;<A HREF="../../../../org/apache/oro/io/GlobFilenameFilter.html" title="class in org.apache.oro.io"><B>NEXT CLASS</B></A></FONT></TD>
  46. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  47. <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
  48. &nbsp;<A HREF="AwkFilenameFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  49. &nbsp;<SCRIPT type="text/javascript">
  50. <!--
  51. if(window==top) {
  52. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  53. }
  54. //-->
  55. </SCRIPT>
  56. <NOSCRIPT>
  57. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  58. </NOSCRIPT>
  59. </FONT></TD>
  60. </TR>
  61. <TR>
  62. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  63. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_org.apache.oro.io.RegexFilenameFilter">METHOD</A></FONT></TD>
  64. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  65. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
  66. </TR>
  67. </TABLE>
  68. <A NAME="skip-navbar_top"></A>
  69. <!-- ========= END OF TOP NAVBAR ========= -->
  70. <HR>
  71. <!-- ======== START OF CLASS DATA ======== -->
  72. <H2>
  73. <FONT SIZE="-1">
  74. org.apache.oro.io</FONT>
  75. <BR>
  76. Class AwkFilenameFilter</H2>
  77. <PRE>
  78. java.lang.Object
  79. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html" title="class in org.apache.oro.io">org.apache.oro.io.RegexFilenameFilter</A>
  80. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.oro.io.AwkFilenameFilter</B>
  81. </PRE>
  82. <DL>
  83. <DT><B>All Implemented Interfaces:</B> <DD>java.io.FileFilter, java.io.FilenameFilter</DD>
  84. </DL>
  85. <HR>
  86. <DL>
  87. <DT>public class <B>AwkFilenameFilter</B><DT>extends <A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html" title="class in org.apache.oro.io">RegexFilenameFilter</A></DL>
  88. <P>
  89. AwkFilenameFilter is a RegexFilenameFilter subclass that filters on Awk
  90. regular expressions as implemented by the org.apache.oro.text.awk package,
  91. which is required to use this class.
  92. <P>
  93. <P>
  94. <DL>
  95. <DT><B>Since:</B></DT>
  96. <DD>1.0</DD>
  97. <DT><B>Version:</B></DT>
  98. <DD>2.0.8</DD>
  99. <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html" title="class in org.apache.oro.io"><CODE>RegexFilenameFilter</CODE></A>,
  100. <A HREF="../../../../org/apache/oro/io/Perl5FilenameFilter.html" title="class in org.apache.oro.io"><CODE>Perl5FilenameFilter</CODE></A>,
  101. <A HREF="../../../../org/apache/oro/io/GlobFilenameFilter.html" title="class in org.apache.oro.io"><CODE>GlobFilenameFilter</CODE></A></DL>
  102. <HR>
  103. <P>
  104. <!-- ======== NESTED CLASS SUMMARY ======== -->
  105. <!-- =========== FIELD SUMMARY =========== -->
  106. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  107. <A NAME="constructor_summary"><!-- --></A>
  108. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  109. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  110. <TD COLSPAN=2><FONT SIZE="+2">
  111. <B>Constructor Summary</B></FONT></TD>
  112. </TR>
  113. <TR BGCOLOR="white" CLASS="TableRowColor">
  114. <TD><CODE><B><A HREF="../../../../org/apache/oro/io/AwkFilenameFilter.html#AwkFilenameFilter()">AwkFilenameFilter</A></B>()</CODE>
  115. <BR>
  116. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Same as AwkFilenameFilter("");</TD>
  117. </TR>
  118. <TR BGCOLOR="white" CLASS="TableRowColor">
  119. <TD><CODE><B><A HREF="../../../../org/apache/oro/io/AwkFilenameFilter.html#AwkFilenameFilter(java.lang.String)">AwkFilenameFilter</A></B>(java.lang.String&nbsp;regex)</CODE>
  120. <BR>
  121. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Same as AwkFilenameFilter(regex, AwkCompiler.DEFAULT_MASK);</TD>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD><CODE><B><A HREF="../../../../org/apache/oro/io/AwkFilenameFilter.html#AwkFilenameFilter(java.lang.String, int)">AwkFilenameFilter</A></B>(java.lang.String&nbsp;regex,
  125. int&nbsp;options)</CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a filter initialized with the indicated regular expression
  128. and accompanying compilation options conforming to those used by
  129. <code> org.apache.oro.text.awk.AwkCompiler </code>
  130. </TD>
  131. </TR>
  132. </TABLE>
  133. &nbsp;
  134. <!-- ========== METHOD SUMMARY =========== -->
  135. <A NAME="methods_inherited_from_class_org.apache.oro.io.RegexFilenameFilter"><!-- --></A>
  136. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  137. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  138. <TD><B>Methods inherited from class org.apache.oro.io.<A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html" title="class in org.apache.oro.io">RegexFilenameFilter</A></B></TD>
  139. </TR>
  140. <TR BGCOLOR="white" CLASS="TableRowColor">
  141. <TD><CODE><A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html#accept(java.io.File)">accept</A>, <A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html#accept(java.io.File, java.lang.String)">accept</A>, <A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html#setFilterExpression(java.lang.String)">setFilterExpression</A>, <A HREF="../../../../org/apache/oro/io/RegexFilenameFilter.html#setFilterExpression(java.lang.String, int)">setFilterExpression</A></CODE></TD>
  142. </TR>
  143. </TABLE>
  144. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  147. <TD><B>Methods inherited from class java.lang.Object</B></TD>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  151. </TR>
  152. </TABLE>
  153. &nbsp;
  154. <P>
  155. <!-- ============ FIELD DETAIL =========== -->
  156. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  157. <A NAME="constructor_detail"><!-- --></A>
  158. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  159. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  160. <TD COLSPAN=1><FONT SIZE="+2">
  161. <B>Constructor Detail</B></FONT></TD>
  162. </TR>
  163. </TABLE>
  164. <A NAME="AwkFilenameFilter(java.lang.String, int)"><!-- --></A><H3>
  165. AwkFilenameFilter</H3>
  166. <PRE>
  167. public <B>AwkFilenameFilter</B>(java.lang.String&nbsp;regex,
  168. int&nbsp;options)</PRE>
  169. <DL>
  170. <DD>Construct a filter initialized with the indicated regular expression
  171. and accompanying compilation options conforming to those used by
  172. <code> org.apache.oro.text.awk.AwkCompiler </code>
  173. <p>
  174. <P>
  175. <DT><B>Parameters:</B><DD><CODE>regex</CODE> - The regular expression on which to filter.<DD><CODE>options</CODE> - A set of compilation options.
  176. <DT><B>Throws:</B>
  177. <DD><CODE><A HREF="../../../../org/apache/oro/text/MalformedCachePatternException.html" title="class in org.apache.oro.text">MalformedCachePatternException</A></CODE> - If there is an error in
  178. compiling the regular expression. This need not be caught if
  179. you are using a hard-coded expression that you know is correct.
  180. But for robustness and reliability you should catch this exception
  181. for dynamically entered expressions determined at runtime.</DL>
  182. <HR>
  183. <A NAME="AwkFilenameFilter(java.lang.String)"><!-- --></A><H3>
  184. AwkFilenameFilter</H3>
  185. <PRE>
  186. public <B>AwkFilenameFilter</B>(java.lang.String&nbsp;regex)</PRE>
  187. <DL>
  188. <DD>Same as AwkFilenameFilter(regex, AwkCompiler.DEFAULT_MASK);
  189. <P>
  190. </DL>
  191. <HR>
  192. <A NAME="AwkFilenameFilter()"><!-- --></A><H3>
  193. AwkFilenameFilter</H3>
  194. <PRE>
  195. public <B>AwkFilenameFilter</B>()</PRE>
  196. <DL>
  197. <DD>Same as AwkFilenameFilter("");
  198. <P>
  199. </DL>
  200. <!-- ============ METHOD DETAIL ========== -->
  201. <!-- ========= END OF CLASS DATA ========= -->
  202. <HR>
  203. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  204. <A NAME="navbar_bottom"><!-- --></A>
  205. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  206. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  207. <TR>
  208. <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  209. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  210. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  211. <TR ALIGN="center" VALIGN="top">
  212. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  213. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  214. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  215. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  216. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  217. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  218. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  219. </TR>
  220. </TABLE>
  221. </TD>
  222. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  223. <a href='http://jakarta.apache.org/oro/' target=_top><img src='../../../../../images/logoSmall.gif' alt='Jakarta ORO' width=48 height=47 align=center border=0 hspace=1 vspace=1></a></EM>
  224. </TD>
  225. </TR>
  226. <TR>
  227. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  228. &nbsp;PREV CLASS&nbsp;
  229. &nbsp;<A HREF="../../../../org/apache/oro/io/GlobFilenameFilter.html" title="class in org.apache.oro.io"><B>NEXT CLASS</B></A></FONT></TD>
  230. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  231. <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
  232. &nbsp;<A HREF="AwkFilenameFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  233. &nbsp;<SCRIPT type="text/javascript">
  234. <!--
  235. if(window==top) {
  236. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  237. }
  238. //-->
  239. </SCRIPT>
  240. <NOSCRIPT>
  241. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  242. </NOSCRIPT>
  243. </FONT></TD>
  244. </TR>
  245. <TR>
  246. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  247. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_org.apache.oro.io.RegexFilenameFilter">METHOD</A></FONT></TD>
  248. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  249. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
  250. </TR>
  251. </TABLE>
  252. <A NAME="skip-navbar_bottom"></A>
  253. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  254. <HR>
  255. Copyright ? 2000-2003 Apache Software Foundation. All Rights Reserved.
  256. </BODY>
  257. </HTML>