Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.ui.search
Class PatternQuerySpecification

java.lang.Object
  extended by 

org.eclipse.jdt.ui.search.QuerySpecification
      extended by 
org.eclipse.jdt.ui.search.PatternQuerySpecification

public class PatternQuerySpecification
extends QuerySpecification

Describes a search query by giving a textual pattern to search for.

This class is not intended to be instantiated or subclassed by clients.

Since:
3.0
See Also:
QuerySpecification
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

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

PatternQuerySpecification

public PatternQuerySpecification(
String pattern,
                                 int searchFor,
                                 boolean caseSensitive,
                                 int limitTo,
                                 
IJavaSearchScope scope,
                                 
String scopeDescription)
Parameters:
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.
See Also:
SearchPattern.createPattern(java.lang.String, int, int, int)
Method Detail

isCaseSensitive

public boolean isCaseSensitive()
Whether the query should be case sensitive.

Returns:
Whether the query should be case sensitive.

getPattern

public 
String getPattern()
Returns the search pattern the query should search for.

Returns:
the search pattern
See Also:
SearchPattern.createPattern(java.lang.String, int, int, int)

getSearchFor

public int getSearchFor()
Returns what kind of IJavaElement the query should search for.

Returns:
The kind of IJavaElement to search for.
See Also:
IJavaSearchConstants

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire