org.xwiki.gwt.wysiwyg.client.plugin.font
Class DefaultStringMatcher

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.font.DefaultStringMatcher
All Implemented Interfaces:
Matcher<String>
Direct Known Subclasses:
AbstractFontMatcher

public class DefaultStringMatcher
extends Object
implements Matcher<String>

Matches two Strings if they are both null or equal ignoring case.

Version:
$Id: b615ef93914189b66d2fe02f345f87ca3bd1a925 $

Constructor Summary
DefaultStringMatcher()
           
 
Method Summary
 boolean match(String leftValue, String rightValue)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStringMatcher

public DefaultStringMatcher()
Method Detail

match

public boolean match(String leftValue,
                     String rightValue)

Specified by:
match in interface Matcher<String>
Parameters:
leftValue - the left value
rightValue - the right value
Returns:
true if the left and right values match, false otherwise
See Also:
Matcher.match(Object, Object)


Copyright © 2004–2014 XWiki. All rights reserved.