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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadChecksum(Path checksumFile) Reads checksum from specified file.voidwriteChecksum(Path checksumFile, String checksum) Writes checksum to specified file.
-
Constructor Details
-
TestChecksumProcessor
public TestChecksumProcessor()
-
-
Method Details
-
readChecksum
Description copied from interface:ChecksumProcessorReads checksum from specified file.- Specified by:
readChecksumin interfaceChecksumProcessor- Throws:
IOException- in case of any IO error.
-
writeChecksum
Description copied from interface:ChecksumProcessorWrites checksum to specified file.- Specified by:
writeChecksumin interfaceChecksumProcessor- Throws:
IOException- in case of any IO error.
-