Package adams.core.io.filesearch
Interface RegExpFileSearchHandler
-
- All Superinterfaces:
FileSearchHandler
,Stoppable
,StoppableWithFeedback
- All Known Implementing Classes:
TextFileSearchHandler
public interface RegExpFileSearchHandler extends FileSearchHandler
Interface for file search handlers that handle regular expression matching.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
searchRegExp(String file, String searchText, boolean caseSensitive, ExceptionHandler handler)
Searches the specified file.-
Methods inherited from interface adams.core.io.filesearch.FileSearchHandler
handles, searchFile
-
Methods inherited from interface adams.core.Stoppable
stopExecution
-
Methods inherited from interface adams.core.StoppableWithFeedback
isStopped
-
-
-
-
Method Detail
-
searchRegExp
boolean searchRegExp(String file, String searchText, boolean caseSensitive, ExceptionHandler handler)
Searches the specified file.- Parameters:
file
- the file to searchsearchText
- the search texthandler
- for handling exceptions, can be null- Returns:
- true if the search text was found
-
-