Package org.eclipse.aether.spi.io
Interface ChecksumProcessor
-
public interface ChecksumProcessor
A utility component to perform checksum related operations.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringreadChecksum(java.nio.file.Path checksumFile)Reads checksum from specified file.voidwriteChecksum(java.nio.file.Path checksumFile, java.lang.String checksum)Writes checksum to specified file.
-
-
-
Method Detail
-
readChecksum
java.lang.String readChecksum(java.nio.file.Path checksumFile) throws java.io.IOException
Reads checksum from specified file.- Throws:
java.io.IOException- in case of any IO error.- Since:
- 1.8.0
-
writeChecksum
void writeChecksum(java.nio.file.Path checksumFile, java.lang.String checksum) throws java.io.IOException
Writes checksum to specified file.- Throws:
java.io.IOException- in case of any IO error.- Since:
- 1.8.0
-
-