Interface URIComparator
-
- All Known Implementing Classes:
BasicURLComparator
public interface URIComparatorComponent for testing URI's as to equality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancompare(String uri1, String uri2)Compare two URI's (represented as strings) for equivalence.
-
-
-
Method Detail
-
compare
boolean compare(@Nullable String uri1, @Nullable String uri2) throws URIExceptionCompare two URI's (represented as strings) for equivalence.- Parameters:
uri1- first URI to compareuri2- second URI to compare- Returns:
- true if the URI's are equivalent, false otherwise
- Throws:
URIException- if the URI's can not be successfully evaluated
-
-