Package net.shibboleth.shared.logic
Class CaseInsensitiveStringMatchPredicate
java.lang.Object
net.shibboleth.shared.logic.CaseInsensitiveStringMatchPredicate
- All Implemented Interfaces:
Predicate<CharSequence>
A
Predicate that checks that a given input string matches a target string while ignoring case. If a given
input is null this predicate returns false.-
Field Details
-
target
The target string.
-
-
Constructor Details
-
CaseInsensitiveStringMatchPredicate
Constructor.- Parameters:
matchString- that string against which predicate inputs will be checked
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<CharSequence>
-