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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadChecksum(Path checksumPath) Reads checksum from specified file.voidwriteChecksum(Path target, String checksum) Writes checksum to specified file.
-
Constructor Details
-
DefaultChecksumProcessor
-
-
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.
-