com.atlassian.user.search.query.match
Interface Matcher
- All Known Implementing Classes:
- ContainsIgnoreCaseMatcher, EndsWithIgnoreCaseMatcher, EqualsIgnoreCaseMatcher, StartsWithIgnoreCaseMatcher
public interface Matcher
An interface for matching the contents of a string against a search term. Implements will describe the situations in
which they match.
|
Method Summary |
boolean |
matches(String content,
String searchTerm)
Returns true if the content "matches" the searchTerm, according to the matching rules of the implementation. |
matches
boolean matches(String content,
String searchTerm)
- Returns true if the content "matches" the searchTerm, according to the matching rules of the implementation.
- 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.