public final class SearchRoot extends Object
Constructor | Description |
---|---|
SearchRoot(URI rootUri,
List<SearchFilter> filters) |
Create a new search root, defined by a folder and a set of filters.
|
SearchRoot(org.openide.filesystems.FileObject rootFile,
List<SearchFilter> filters) |
Create a new search root, defined by a folder and a set of filters.
|
Modifier and Type | Method | Description |
---|---|---|
org.openide.filesystems.FileObject |
getFileObject() |
Get the file object.
|
List<SearchFilter> |
getFilters() |
Get list of filters.
|
URI |
getUri() |
Get URI of the search root.
|
public SearchRoot(@NonNull org.openide.filesystems.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 org.openide.filesystems.FileObject getFileObject()
@NonNull public URI getUri()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.