org.gjt.sp.jedit.search
Interface SearchFileSet

All Known Implementing Classes:
BufferListSet, CurrentBufferSet

public interface SearchFileSet

An abstract interface representing a set of files.

Version:
$Id: SearchFileSet.java,v 1.5 2004/03/28 00:07:27 spestov Exp $
Author:
Slava Pestov

Method Summary
 String getCode()
          Returns the BeanShell code that will recreate this file set.
 int getFileCount(View view)
          Returns the number of files in this file set.
 String[] getFiles(View view)
          Returns all path names in this file set.
 String getFirstFile(View view)
          Returns the first file to search.
 String getNextFile(View view, String path)
          Returns the next file to search.
 

Method Detail

getFirstFile

public String getFirstFile(View view)
Returns the first file to search.

Parameters:
view - The view performing the search

getNextFile

public String getNextFile(View view,
                          String path)
Returns the next file to search.

Parameters:
view - The view performing the search
path - The last file searched

getFiles

public String[] getFiles(View view)
Returns all path names in this file set.

Parameters:
view - The view performing the search

getFileCount

public int getFileCount(View view)
Returns the number of files in this file set.


getCode

public String getCode()
Returns the BeanShell code that will recreate this file set.