Package org.refcodes.matcher
-
Interface Summary Interface Description Matcher<M> The matcher is used to test whether a matchee matches certain criteria.PathMatcher ThePathMatcher
providesWildcardMatcher
functionality for matching paths: ThePathMatcher
matches its ANT like path pattern against the path provided to thePathMatcher.isMatching(String)
and the like methods.RegExpMatcher WildcardMatcher AWildcardMatcher
is aMatcher
providing additional means to work with the wildcards and their wildcard substitutes in case of a match as ofMatcher.isMatching(Object)
.WildcardSubstitutes TheWildcardSubstitutes
contains all information available regarding substitution of wildcards using thePathMatcher
. -
Class Summary Class Description AndMatcherImpl<M> AnyMatcherImpl<M> An ANY implementation of aMatcher
which always returnstrue
.EqualWithMatcherImpl<M> An EQUAL WITHMatcher
, comparing its matchee with the matchee provided to theEqualWithMatcherImpl.isMatching(Object)
method for equality.GreaterOrEqualThanMatcherImpl<M extends Comparable<M>> A GREATER OR EQUAL THANMatcher
, comparing its matchee with the matchee provided to theMatcher.isMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.GreaterThanMatcherImpl<M extends Comparable<M>> A GREATER THANMatcher
, comparing its matchee with the matchee provided to theMatcher.isMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.IsAssignableFromMatcherImpl<M> A IS ASSIGNABLE FROM implementation of aMatcher
by type.LessOrEqualThanMatcherImpl<M extends Comparable<M>> A LESS OR EQUAL THANMatcher
, comparing its matchee with the matchee provided to theMatcher.isMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.LessThanMatcherImpl<M extends Comparable<M>> A LESS THANMatcher
, comparing its matchee with the matchee provided to theMatcher.isMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.MatcherSugar Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for theMatcher
elements.NoneMatcherImpl<M> A NONE implementation of aMatcher
which always returnsfalse
.NotEqualWithMatcherImpl<M> A NOT EQUAL WITHMatcher
, comparing its matchee with the matchee provided to theNotEqualWithMatcherImpl.isMatching(Object)
method for equality.NotMatcherImpl<M> OrMatcherImpl<M> PathMatcherImpl Implements thePathMatcher
interface.RegExpMatcherImpl Implements thePathMatcher
interface.WildcardSubstitutesImpl The Class WildcardSubstitutesImpl.