|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.ui.search.QuerySpecification
org.eclipse.jdt.ui.search.PatternQuerySpecification
public class PatternQuerySpecification
Describes a search query by giving a textual pattern to search for.
This class is not intended to be instantiated or subclassed by clients.
QuerySpecification| Constructor Summary | |
|---|---|
PatternQuerySpecification(String pattern,
int searchFor,
boolean caseSensitive,
int limitTo,
IJavaSearchScope scope,
String scopeDescription)
|
|
| Method Summary | |
|---|---|
String |
getPattern()
Returns the search pattern the query should search for. |
int |
getSearchFor()
Returns what kind of IJavaElement the query should search for. |
boolean |
isCaseSensitive()
Whether the query should be case sensitive. |
| Methods inherited from class org.eclipse.jdt.ui.search.QuerySpecification |
|---|
getLimitTo, getScope, getScopeDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternQuerySpecification(String pattern,
int searchFor,
boolean caseSensitive,
int limitTo,
IJavaSearchScope scope,
String scopeDescription)
pattern - The string that the query should search for.searchFor - What kind of IJavaElement the query should search for.caseSensitive - Whether the query should be case sensitive.limitTo - The kind of occurrence the query should search for.scope - The scope to search in.scopeDescription - A human readable description of the search scope.SearchPattern.createPattern(java.lang.String, int, int, int)| Method Detail |
|---|
public boolean isCaseSensitive()
public String getPattern()
SearchPattern.createPattern(java.lang.String, int, int, int)public int getSearchFor()
IJavaElement the query should search for.
IJavaElement to search for.IJavaSearchConstants
|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||