Package net.shibboleth.shared.testing
Class ResourceTestHelper
java.lang.Object
net.shibboleth.shared.testing.ResourceTestHelper
Compare two resources for equality.
NOTE: If this changes, change the "additional" copy in shib-spring.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResourceTestHelper
private ResourceTestHelper()Hidden constructor.
-
-
Method Details
-
compare
Compare to see whether the content of two resources are the same.- Parameters:
first- Resource to comparesecond- Resource to compare- Returns:
- whether They are equal
- Throws:
IOException- if a read fails
-