org.fluentlenium.core.filter.matcher
Class CalculateService

java.lang.Object
  extended by org.fluentlenium.core.filter.matcher.CalculateService

public final class CalculateService
extends Object

Static class that are in charge of analyzed the filter and matcher.


Method Summary
static boolean contains(Pattern patternValue, String referenceValue, String currentValue)
          check if the current value contains the patternValue or the referenceValue
static boolean endsWith(Pattern patternValue, String referenceValue, String currentValue)
          check if the current value ends with the patternValue or the referenceValue
static boolean equal(Pattern patternValue, String referenceValue, String currentValue)
          check if the current value is equal the patternValue or the referenceValue
static boolean startsWith(Pattern patternValue, String referenceValue, String currentValue)
          check if the current value starts with the patternValue or the referenceValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

contains

public static boolean contains(Pattern patternValue,
                               String referenceValue,
                               String currentValue)
check if the current value contains the patternValue or the referenceValue

Parameters:
patternValue -
referenceValue -
currentValue -
Returns:

equal

public static boolean equal(Pattern patternValue,
                            String referenceValue,
                            String currentValue)
check if the current value is equal the patternValue or the referenceValue

Parameters:
patternValue -
referenceValue -
currentValue -
Returns:

startsWith

public static boolean startsWith(Pattern patternValue,
                                 String referenceValue,
                                 String currentValue)
check if the current value starts with the patternValue or the referenceValue

Parameters:
patternValue -
referenceValue -
currentValue -
Returns:

endsWith

public static boolean endsWith(Pattern patternValue,
                               String referenceValue,
                               String currentValue)
check if the current value ends with the patternValue or the referenceValue

Parameters:
patternValue -
referenceValue -
currentValue -
Returns:


Copyright © 2012 AConsulting. All Rights Reserved.