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