Public Member Functions | |
SearchEngine (LogEntryTable let) | |
int | find (String searchString, boolean caseSensitive, boolean wholeWord, boolean forwardSearch, boolean[] cols) |
int | find (Pattern regExp, boolean forwardSearch, boolean[] cols) |
Objects of this class search the logs for a string The method that activates the search is find (overloaded)
com.cosylab.logging.search.SearchEngine.SearchEngine | ( | LogEntryTable | let | ) |
The constructor
ltdm | The LogTableDataModel of the main window |
References alma.acs.logging.table.LogEntryTable.getLCModel().
int com.cosylab.logging.search.SearchEngine.find | ( | String | searchString, | |
boolean | caseSensitive, | |||
boolean | wholeWord, | |||
boolean | forwardSearch, | |||
boolean[] | cols | |||
) |
Search the logs for a string
searchString | The string to look for in the logs | |
caseSensitive | If true performs a CaseSensitive search | |
wholeWord | If true look for the whole word int the column | |
forwardSearch | If true search forward otherwise backward | |
cols | The columns of each log tool for the string |
Referenced by com.cosylab.logging.search.SearchEngine.find(), and com.cosylab.logging.search.SearchDialog.search().
int com.cosylab.logging.search.SearchEngine.find | ( | Pattern | regExp, | |
boolean | forwardSearch, | |||
boolean[] | cols | |||
) |
Search the log for a regular expression
regExp | The regular expression to look for in the logs | |
forwardSearch | If true search forward otherwise backward | |
cols | The columns of each log tool for the string |
References com.cosylab.logging.search.SearchEngine.find().