/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/io/GlobVFSFileFilter.html
HTML | 390 lines | 334 code | 43 blank | 13 comment | 0 complexity | b635be9ea88f961457abdc93a4d9c6af MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.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.5.0_14) on Tue Jul 22 07:14:02 GMT-08:00 2008 -->
6<TITLE>
7GlobVFSFileFilter (jEdit API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.io.GlobVFSFileFilter class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14
15<NOSCRIPT>
16</NOSCRIPT>
17
18</HEAD>
19
20<BODY BGCOLOR="white" >
21
22
23<!-- ========= START OF TOP NAVBAR ======= -->
24<A NAME="navbar_top"><!-- --></A>
25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
27<TR>
28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
29<A NAME="navbar_top_firstrow"><!-- --></A>
30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
31 <TR ALIGN="center" VALIGN="top">
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
34 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GlobVFSFileFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
40 </TR>
41</TABLE>
42</TD>
43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
44</EM>
45</TD>
46</TR>
47
48<TR>
49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
50 <A HREF="../../../../../org/gjt/sp/jedit/io/FileVFS.LocalFile.html" title="class in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>
51 <A HREF="../../../../../org/gjt/sp/jedit/io/UrlVFS.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/GlobVFSFileFilter.html" target="_top"><B>FRAMES</B></A>
54 <A HREF="GlobVFSFileFilter.html" target="_top"><B>NO FRAMES</B></A>
55
56<NOSCRIPT>
57 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
58</NOSCRIPT>
59
60
61</FONT></TD>
62</TR>
63<TR>
64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
68</TR>
69</TABLE>
70<A NAME="skip-navbar_top"></A>
71<!-- ========= END OF TOP NAVBAR ========= -->
72
73<HR>
74<!-- ======== START OF CLASS DATA ======== -->
75<H2>
76<FONT SIZE="-1">
77org.gjt.sp.jedit.io</FONT>
78<BR>
79Class GlobVFSFileFilter</H2>
80<PRE>
81java.lang.Object
82 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.io.GlobVFSFileFilter</B>
83</PRE>
84<DL>
85<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A></DD>
86</DL>
87<HR>
88<DL>
89<DT><PRE>public class <B>GlobVFSFileFilter</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A></DL>
90</PRE>
91
92<P>
93Implementation of <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io"><CODE>VFSFileFilter</CODE></A> that uses Unix-style globs
94 to filter files. This doesn't filter directories - just files.
95<P>
96
97<P>
98<DL>
99<DT><B>Since:</B></DT>
100 <DD>jEdit 4.3pre7</DD>
101</DL>
102<HR>
103
104<P>
105<!-- =========== FIELD SUMMARY =========== -->
106
107<A NAME="field_summary"><!-- --></A>
108<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
109<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
111<B>Field Summary</B></FONT></TH>
112</TR>
113</TABLE>
114 <A NAME="fields_inherited_from_class_org.gjt.sp.jedit.io.VFSFileFilter"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
117<TH ALIGN="left"><B>Fields inherited from interface org.gjt.sp.jedit.io.<A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A></B></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#SERVICE_NAME">SERVICE_NAME</A></CODE></TD>
121</TR>
122</TABLE>
123
124<!-- ======== CONSTRUCTOR SUMMARY ======== -->
125
126<A NAME="constructor_summary"><!-- --></A>
127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130<B>Constructor Summary</B></FONT></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#GlobVFSFileFilter(java.lang.String)">GlobVFSFileFilter</A></B>(java.lang.String glob)</CODE>
134
135<BR>
136 </TD>
137</TR>
138</TABLE>
139
140<!-- ========== METHOD SUMMARY =========== -->
141
142<A NAME="method_summary"><!-- --></A>
143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
146<B>Method Summary</B></FONT></TH>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE> boolean</CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#accept(java.lang.String)">accept</A></B>(java.lang.String url)</CODE>
152
153<BR>
154 Same thing as <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#accept(org.gjt.sp.jedit.io.VFSFile)"><CODE>VFSFileFilter.accept(VFSFile)</CODE></A> above, but operates on
155 the raw URL instead of a VFSFile object.</TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159<CODE> boolean</CODE></FONT></TD>
160<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#accept(org.gjt.sp.jedit.io.VFSFile)">accept</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/io/VFSFile.html" title="class in org.gjt.sp.jedit.io">VFSFile</A> file)</CODE>
161
162<BR>
163 Should return whether the entry represented by the given URL
164 should be listed in the browser view.</TD>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE> java.lang.String</CODE></FONT></TD>
169<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#getDescription()">getDescription</A></B>()</CODE>
170
171<BR>
172 Returns the description of the filter, to be used in the
173 VFSBrowser window.</TD>
174</TR>
175<TR BGCOLOR="white" CLASS="TableRowColor">
176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177<CODE> java.lang.String</CODE></FONT></TD>
178<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#getGlob()">getGlob</A></B>()</CODE>
179
180<BR>
181 </TD>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE> void</CODE></FONT></TD>
186<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#setGlob(java.lang.String)">setGlob</A></B>(java.lang.String glob)</CODE>
187
188<BR>
189 </TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE> java.lang.String</CODE></FONT></TD>
194<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/GlobVFSFileFilter.html#toString()">toString</A></B>()</CODE>
195
196<BR>
197 </TD>
198</TR>
199</TABLE>
200 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
203<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
207</TR>
208</TABLE>
209
210<P>
211
212<!-- ========= CONSTRUCTOR DETAIL ======== -->
213
214<A NAME="constructor_detail"><!-- --></A>
215<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
216<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
217<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
218<B>Constructor Detail</B></FONT></TH>
219</TR>
220</TABLE>
221
222<A NAME="GlobVFSFileFilter(java.lang.String)"><!-- --></A><H3>
223GlobVFSFileFilter</H3>
224<PRE>
225public <B>GlobVFSFileFilter</B>(java.lang.String glob)</PRE>
226<DL>
227</DL>
228
229<!-- ============ METHOD DETAIL ========== -->
230
231<A NAME="method_detail"><!-- --></A>
232<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
233<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
234<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
235<B>Method Detail</B></FONT></TH>
236</TR>
237</TABLE>
238
239<A NAME="accept(org.gjt.sp.jedit.io.VFSFile)"><!-- --></A><H3>
240accept</H3>
241<PRE>
242public boolean <B>accept</B>(<A HREF="../../../../../org/gjt/sp/jedit/io/VFSFile.html" title="class in org.gjt.sp.jedit.io">VFSFile</A> file)</PRE>
243<DL>
244<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#accept(org.gjt.sp.jedit.io.VFSFile)">VFSFileFilter</A></CODE></B></DD>
245<DD>Should return whether the entry represented by the given URL
246 should be listed in the browser view.
247<P>
248<DD><DL>
249<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#accept(org.gjt.sp.jedit.io.VFSFile)">accept</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A></CODE></DL>
250</DD>
251<DD><DL>
252</DL>
253</DD>
254</DL>
255<HR>
256
257<A NAME="accept(java.lang.String)"><!-- --></A><H3>
258accept</H3>
259<PRE>
260public boolean <B>accept</B>(java.lang.String url)</PRE>
261<DL>
262<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#accept(java.lang.String)">VFSFileFilter</A></CODE></B></DD>
263<DD>Same thing as <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#accept(org.gjt.sp.jedit.io.VFSFile)"><CODE>VFSFileFilter.accept(VFSFile)</CODE></A> above, but operates on
264 the raw URL instead of a VFSFile object.
265<P>
266<DD><DL>
267<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#accept(java.lang.String)">accept</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A></CODE></DL>
268</DD>
269<DD><DL>
270</DL>
271</DD>
272</DL>
273<HR>
274
275<A NAME="getDescription()"><!-- --></A><H3>
276getDescription</H3>
277<PRE>
278public java.lang.String <B>getDescription</B>()</PRE>
279<DL>
280<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#getDescription()">VFSFileFilter</A></CODE></B></DD>
281<DD>Returns the description of the filter, to be used in the
282 VFSBrowser window.
283<P>
284<DD><DL>
285<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A></CODE></DL>
286</DD>
287<DD><DL>
288</DL>
289</DD>
290</DL>
291<HR>
292
293<A NAME="toString()"><!-- --></A><H3>
294toString</H3>
295<PRE>
296public java.lang.String <B>toString</B>()</PRE>
297<DL>
298<DD><DL>
299<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
300</DD>
301<DD><DL>
302</DL>
303</DD>
304</DL>
305<HR>
306
307<A NAME="setGlob(java.lang.String)"><!-- --></A><H3>
308setGlob</H3>
309<PRE>
310public void <B>setGlob</B>(java.lang.String glob)</PRE>
311<DL>
312<DD><DL>
313</DL>
314</DD>
315<DD><DL>
316</DL>
317</DD>
318</DL>
319<HR>
320
321<A NAME="getGlob()"><!-- --></A><H3>
322getGlob</H3>
323<PRE>
324public java.lang.String <B>getGlob</B>()</PRE>
325<DL>
326<DD><DL>
327</DL>
328</DD>
329<DD><DL>
330</DL>
331</DD>
332</DL>
333<!-- ========= END OF CLASS DATA ========= -->
334<HR>
335
336
337<!-- ======= START OF BOTTOM NAVBAR ====== -->
338<A NAME="navbar_bottom"><!-- --></A>
339<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
340<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
341<TR>
342<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
343<A NAME="navbar_bottom_firstrow"><!-- --></A>
344<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
345 <TR ALIGN="center" VALIGN="top">
346 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
347 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
348 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
349 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GlobVFSFileFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
350 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
351 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
352 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
353 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
354 </TR>
355</TABLE>
356</TD>
357<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
358</EM>
359</TD>
360</TR>
361
362<TR>
363<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
364 <A HREF="../../../../../org/gjt/sp/jedit/io/FileVFS.LocalFile.html" title="class in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>
365 <A HREF="../../../../../org/gjt/sp/jedit/io/UrlVFS.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
366<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
367 <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/GlobVFSFileFilter.html" target="_top"><B>FRAMES</B></A>
368 <A HREF="GlobVFSFileFilter.html" target="_top"><B>NO FRAMES</B></A>
369
370<NOSCRIPT>
371 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
372</NOSCRIPT>
373
374
375</FONT></TD>
376</TR>
377<TR>
378<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
379 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
380<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
381DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
382</TR>
383</TABLE>
384<A NAME="skip-navbar_bottom"></A>
385<!-- ======== END OF BOTTOM NAVBAR ======= -->
386
387<HR>
388
389</BODY>
390</HTML>