org.fest.swing.util
Interface TextMatcher

All Known Implementing Classes:
PatternTextMatcher, StringTextMatcher

public interface TextMatcher

Understands matching a given text to one or more values.

Author:
Alex Ruiz

Method Summary
 String description()
          Returns the description of the type of value this matcher supports.
 String formattedValues()
          Returns the values in this matcher, formatted as a String.
 boolean isMatching(String text)
          Indicates whether the given text matches some value(s).
 

Method Detail

isMatching

boolean isMatching(String text)
Indicates whether the given text matches some value(s).

Parameters:
text - the text to verify.
Returns:
true if the given text matches some value(s), false otherwise.

description

String description()
Returns the description of the type of value this matcher supports.

Returns:
the description of the type of value this matcher supports.

formattedValues

String formattedValues()
Returns the values in this matcher, formatted as a String.

Returns:
the values in this matcher, formatted as a String.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.