Class: FileSearcher

FileSearcher()

Class searches for files in a SalmonDrive by filename.

Constructor

new FileSearcher()

Source:

Classes

FileSearcher

Methods

isRunning()

True if a search is running.
Source:
Returns:
True if running

isStopped()

True if last search was stopped by user.
Source:
Returns:
True if stopped.
Search files in directory and its subdirectories recursively for matching terms.
Parameters:
Name Type Description
dir The directory to start the search.
terms The terms to search for.
any True if you want to match any term otherwise match all terms.
OnResultFound Callback interface to receive notifications when results found.
onSearchEvent Callback interface to receive status events.
Source:
Returns:
An array with all the results found.