Package com.mku.fs.drive.utils
Class FileSearcher.SearchOptions
- java.lang.Object
-
- com.mku.fs.drive.utils.FileSearcher.SearchOptions
-
- Enclosing class:
- FileSearcher
public static class FileSearcher.SearchOptions extends java.lang.ObjectSearch options
-
-
Field Summary
Fields Modifier and Type Field Description booleananyTermTrue to search for any term, otherwise match allConsumer<IVirtualFile>onResultFoundCallback when result foundConsumer<FileSearcher.SearchEvent>onSearchEventCallback when search event happens.
-
Constructor Summary
Constructors Constructor Description SearchOptions()
-
-
-
Field Detail
-
anyTerm
public boolean anyTerm
True to search for any term, otherwise match all
-
onResultFound
public Consumer<IVirtualFile> onResultFound
Callback when result found
-
onSearchEvent
public Consumer<FileSearcher.SearchEvent> onSearchEvent
Callback when search event happens.
-
-