Package org.gjt.sp.jedit.io
Interface VFSFileFilter
-
- All Known Implementing Classes:
GlobVFSFileFilter
,VFSBrowser.DirectoriesOnlyFilter
public interface VFSFileFilter
An interface similar tojava.io.FilenameFilter
, that is used byVFSBrowser
to define what files to show in the directory view.- Since:
- jEdit 4.3pre7
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(java.lang.String url)
Same thing asaccept(VFSFile)
above, but operates on the raw URL instead of a VFSFile object.boolean
accept(VFSFile file)
Should return whether the entry represented by the given URL should be listed in the browser view.java.lang.String
getDescription()
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.
-
-