Module jEdit

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 Object implements VFSFileFilter
  • Constructor Details

    • DirectoriesOnlyFilter

      public DirectoriesOnlyFilter()
  • Method Details

    • accept

      public boolean accept(VFSFile file)
      Description copied from interface: VFSFileFilter
      Should 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:
      accept in interface VFSFileFilter
    • accept

      public boolean accept(String url)
      Description copied from interface: VFSFileFilter
      Same thing as VFSFileFilter.accept(VFSFile) above, but operates on the raw URL instead of a VFSFile object.
      Specified by:
      accept in interface VFSFileFilter
    • getDescription

      public String getDescription()
      Description copied from interface: VFSFileFilter
      Returns the description of the filter, to be used in the VFSBrowser window.
      Specified by:
      getDescription in interface VFSFileFilter