Class TestChecksumProcessor
java.lang.Object
org.eclipse.aether.internal.test.util.TestChecksumProcessor
- All Implemented Interfaces:
ChecksumProcessor
A simple file processor implementation to help satisfy component requirements during tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadChecksum
(Path checksumFile) Reads checksum from specified file.void
writeChecksum
(Path checksumFile, String checksum) Writes checksum to specified file.
-
Constructor Details
-
TestChecksumProcessor
public TestChecksumProcessor()
-
-
Method Details
-
readChecksum
Description copied from interface:ChecksumProcessor
Reads checksum from specified file.- Specified by:
readChecksum
in interfaceChecksumProcessor
- Throws:
IOException
- in case of any IO error.
-
writeChecksum
Description copied from interface:ChecksumProcessor
Writes checksum to specified file.- Specified by:
writeChecksum
in interfaceChecksumProcessor
- Throws:
IOException
- in case of any IO error.
-