public final class SearchRoot extends Object
Constructor and Description |
---|
SearchRoot(FileObject rootFile,
List<SearchFilter> filters)
Create a new search root, defined by a folder and a set of filters.
|
SearchRoot(URI rootUri,
List<SearchFilter> filters)
Create a new search root, defined by a folder and a set of filters.
|
Modifier and Type | Method and Description |
---|---|
FileObject |
getFileObject()
Get the file object.
|
List<SearchFilter> |
getFilters()
Get list of filters.
|
URI |
getUri()
Get URI of the search root.
|
public SearchRoot(@NonNull FileObject rootFile, @NullAllowed List<SearchFilter> filters)
rootFile
- Root file, cannot be null.filters
- List of default filters, can be null.public SearchRoot(@NonNull URI rootUri, @NullAllowed List<SearchFilter> filters)
rootUri
- Root URI, cannot be null.filters
- List of default filters, can be null.@NonNull public List<SearchFilter> getFilters()
@NonNull public FileObject getFileObject()