Module jEdit

Class DirectoryListSet

java.lang.Object
org.gjt.sp.jedit.search.BufferListSet
org.gjt.sp.jedit.search.DirectoryListSet
All Implemented Interfaces:
SearchFileSet

public class DirectoryListSet extends BufferListSet
Recursive directory search.
Version:
$Id: DirectoryListSet.java 22454 2012-11-10 11:15:08Z thomasmey $
Author:
Slava Pestov
  • Constructor Details

    • DirectoryListSet

      public DirectoryListSet(String directory, String glob, boolean recurse)
  • Method Details

    • getDirectory

      public String getDirectory()
    • setDirectory

      public void setDirectory(String directory)
      Since:
      jEdit 4.2pre1
    • getFileFilter

      public String getFileFilter()
    • setFileFilter

      public void setFileFilter(String glob)
      Since:
      jEdit 4.2pre1
    • isRecursive

      public boolean isRecursive()
    • setRecursive

      public void setRecursive(boolean recurse)
      Since:
      jEdit 4.2pre1
    • getCode

      public String getCode()
      Description copied from interface: SearchFileSet
      Returns the BeanShell code that will recreate this file set.
      Specified by:
      getCode in interface SearchFileSet
      Overrides:
      getCode in class BufferListSet
    • _getFiles

      protected String[] _getFiles(Component comp)
      Description copied from class: BufferListSet
      Note that the paths in the returned list must be fully canonicalized.
      Specified by:
      _getFiles in class BufferListSet