Package org.gjt.sp.jedit.browser
Class VFSBrowser.DirectoriesOnlyFilter
- java.lang.Object
-
- org.gjt.sp.jedit.browser.VFSBrowser.DirectoriesOnlyFilter
-
- All Implemented Interfaces:
VFSFileFilter
- Enclosing class:
- VFSBrowser
public static class VFSBrowser.DirectoriesOnlyFilter extends java.lang.Object implements VFSFileFilter
-
-
Field Summary
-
Fields inherited from interface org.gjt.sp.jedit.io.VFSFileFilter
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description DirectoriesOnlyFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.lang.String url)Same thing asVFSFileFilter.accept(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
public boolean accept(VFSFile file)
Description copied from interface:VFSFileFilterShould return whether the entry represented by the given URL should be listed in the browser view. Can be a file or a directory.- Specified by:
acceptin interfaceVFSFileFilter
-
accept
public boolean accept(java.lang.String url)
Description copied from interface:VFSFileFilterSame thing asVFSFileFilter.accept(VFSFile)above, but operates on the raw URL instead of a VFSFile object.- Specified by:
acceptin interfaceVFSFileFilter
-
getDescription
public java.lang.String getDescription()
Description copied from interface:VFSFileFilterReturns the description of the filter, to be used in the VFSBrowser window.- Specified by:
getDescriptionin interfaceVFSFileFilter
-
-