Class VFSBrowser.DirectoriesOnlyFilter
java.lang.Object
org.gjt.sp.jedit.browser.VFSBrowser.DirectoriesOnlyFilter
- All Implemented Interfaces:
VFSFileFilter
- Enclosing class:
VFSBrowser
- Version:
- $Id: VFSBrowser.java 24427 2016-06-22 22:29:03Z daleanson $
- Author:
- Slava Pestov
-
Field Summary
Fields inherited from interface VFSFileFilter
SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSame thing asVFSFileFilter.accept(VFSFile)above, but operates on the raw URL instead of a VFSFile object.booleanShould return whether the entry represented by the given URL should be listed in the browser view.Returns the description of the filter, to be used in the VFSBrowser window.
-
Constructor Details
-
DirectoriesOnlyFilter
public DirectoriesOnlyFilter()
-
-
Method Details
-
accept
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
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
Description copied from interface:VFSFileFilterReturns the description of the filter, to be used in the VFSBrowser window.- Specified by:
getDescriptionin interfaceVFSFileFilter
-