java.lang.Object
org.gjt.sp.jedit.search.BufferListSet
- All Implemented Interfaces:
SearchFileSet
- Direct Known Subclasses:
AllBufferSet,DirectoryListSet
A file set for searching a user-specified list of buffers.
- Version:
- $Id: BufferListSet.java 25108 2020-03-31 22:41:49Z kpouer $
- Author:
- Slava Pestov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String[]Note that the paths in the returned list must be fully canonicalized.getCode()Returns the BeanShell code that will recreate this file set.intgetFileCount(View view) Returns the number of files in this file set.String[]Returns all path names in this file set.getFirstFile(View view) Returns the first file to search.getLastFile(View view) Returns the last file to search.getNextFile(View view, String path) Returns the next file to search.getPrevFile(View view, String path) Returns the previous file in the set.void
-
Constructor Details
-
BufferListSet
public BufferListSet()
-
-
Method Details
-
getFirstFile
Description copied from interface:SearchFileSetReturns the first file to search.- Specified by:
getFirstFilein interfaceSearchFileSet- Parameters:
view- The view performing the search
-
getLastFile
Description copied from interface:SearchFileSetReturns the last file to search.- Specified by:
getLastFilein interfaceSearchFileSet- Parameters:
view- The view performing the search
-
getNextFile
Description copied from interface:SearchFileSetReturns the next file to search.- Specified by:
getNextFilein interfaceSearchFileSet- Parameters:
view- The view performing the searchpath- The last file searched
-
getPrevFile
Description copied from interface:SearchFileSetReturns the previous file in the set.- Specified by:
getPrevFilein interfaceSearchFileSet- Parameters:
view- The view performing the searchpath- The last file searched
-
getFiles
Description copied from interface:SearchFileSetReturns all path names in this file set.- Specified by:
getFilesin interfaceSearchFileSet- Parameters:
view- The view performing the search
-
getFileCount
Description copied from interface:SearchFileSetReturns the number of files in this file set.- Specified by:
getFileCountin interfaceSearchFileSet
-
getCode
Description copied from interface:SearchFileSetReturns the BeanShell code that will recreate this file set.- Specified by:
getCodein interfaceSearchFileSet
-
invalidateCachedList
public void invalidateCachedList() -
_getFiles
Note that the paths in the returned list must be fully canonicalized.
-