com.atlassian.user.search.query.match
Class EqualsIgnoreCaseMatcher
java.lang.Object
com.atlassian.user.search.query.match.EqualsIgnoreCaseMatcher
- All Implemented Interfaces:
- Matcher
public class EqualsIgnoreCaseMatcher
- extends Object
- implements Matcher
Matches if StringUtils.equalsIgnoreCase(String, String) returns true for the arguments,
and content is neither null nor an empty string ("").
|
Method Summary |
boolean |
matches(String content,
String searchTerm)
Returns true if the content "matches" the searchTerm, according to the matching rules of the implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EqualsIgnoreCaseMatcher
public EqualsIgnoreCaseMatcher()
matches
public boolean matches(String content,
String searchTerm)
- Description copied from interface:
Matcher
- Returns true if the content "matches" the searchTerm, according to the matching rules of the implementation.
- Specified by:
matches in interface Matcher
- Parameters:
content - the content to searchsearchTerm - the term to search for
- Returns:
- true if the content matches the search term, according to the matching rules of the
implementation, otherwise false.
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.