Package org.gjt.sp.jedit.io
Interface VFSFileFilter
-
- All Known Implementing Classes:
GlobVFSFileFilter,VFSBrowser.DirectoriesOnlyFilter
public interface VFSFileFilterAn interface similar tojava.io.FilenameFilter, that is used byVFSBrowserto define what files to show in the directory view.- Since:
- jEdit 4.3pre7
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(java.lang.String url)Same thing asaccept(VFSFile)above, but operates on the raw URL instead of a VFSFile object.booleanaccept(VFSFile file)Should return whether the entry represented by the given URL should be listed in the browser view.java.lang.StringgetDescription()Returns the description of the filter, to be used in the VFSBrowser window.
-
-
-
Method Detail
-
accept
boolean accept(VFSFile file)
Should return whether the entry represented by the given URL should be listed in the browser view. Can be a file or a directory.
-
accept
boolean accept(java.lang.String url)
Same thing asaccept(VFSFile)above, but operates on the raw URL instead of a VFSFile object.
-
getDescription
java.lang.String getDescription()
Returns the description of the filter, to be used in the VFSBrowser window.
-
-