Package org.eclipse.aether.internal.impl
Class DefaultChecksumProcessor
java.lang.Object
org.eclipse.aether.internal.impl.DefaultChecksumProcessor
- All Implemented Interfaces:
ChecksumProcessor
A utility class helping with file-based operations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadChecksum
(Path checksumPath) Reads checksum from specified file.void
writeChecksum
(Path target, String checksum) Writes checksum to specified file.
-
Constructor Details
-
DefaultChecksumProcessor
-
-
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.
-