Module jEdit

Interface VFSFileFilter

All Known Implementing Classes:
GlobVFSFileFilter, VFSBrowser.DirectoriesOnlyFilter

public interface VFSFileFilter
An interface similar to java.io.FilenameFilter, that is used by VFSBrowser to define what files to show in the directory view.
Since:
jEdit 4.3pre7
Version:
$Id$
Author:
Marcelo Vanzin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Same thing as accept(VFSFile) above, but operates on the raw URL instead of a VFSFile object.
    boolean
    Should 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.
  • Field Details

    • SERVICE_NAME

      static final String SERVICE_NAME
  • Method Details

    • 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(String url)
      Same thing as accept(VFSFile) above, but operates on the raw URL instead of a VFSFile object.
    • getDescription

      String getDescription()
      Returns the description of the filter, to be used in the VFSBrowser window.