public interface IRepositorySearch
| Modifier and Type | Method and Description |
|---|---|
List<IEntity> |
searchName(String parameter,
boolean caseInsensitive)
Search the given parameter in the names of the files and folders ( means
*parameter).
|
List<IEntity> |
searchName(String root,
String parameter,
boolean caseInsensitive)
Search the given parameter in the names of the files and folders ( means
*parameter) under specified root folder (means *root).
|
List<IEntity> |
searchPath(String parameter,
boolean caseInsensitive)
Search the given given parameter in the names of the files and folders
(means *parameter*).
|
void |
searchRefresh()
Re-index the content
|
List<IEntity> |
searchText(String term)
Search the given given parameter in the names of the files and folders as
well as in the content of the text files.
|
List<IEntity> searchName(String parameter, boolean caseInsensitive) throws RepositorySearchException
parameter - the search textcaseInsensitive - whether to be case insensitiveIEntity instancesRepositorySearchException - in case the search failsList<IEntity> searchName(String root, String parameter, boolean caseInsensitive) throws RepositorySearchException
root - the root location to start the search fromparameter - the search textcaseInsensitive - whether to be case insensitiveIEntity instancesRepositorySearchException - in case the search failsList<IEntity> searchPath(String parameter, boolean caseInsensitive) throws RepositorySearchException
parameter - the search textcaseInsensitive - whether to be case insensitiveIEntity instancesRepositorySearchException - in case the search failsList<IEntity> searchText(String term) throws RepositorySearchException
term - the search textIEntity instancesRepositorySearchException - in case the search failsvoid searchRefresh()
throws RepositorySearchException
RepositorySearchExceptionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.