Package org.apache.maven.api.services
Interface ChecksumAlgorithmService.ChecksumCalculator
- Enclosing interface:
ChecksumAlgorithmService
public static interface ChecksumAlgorithmService.ChecksumCalculator
The checksum calculator.
-
Method Summary
Modifier and TypeMethodDescriptionchecksum()Returns the algorithm end result as string, nevernull.voidupdate(ByteBuffer input) Updates the checksum algorithm inner state with input.
-
Method Details
-
update
Updates the checksum algorithm inner state with input.- Throws:
NullPointerException- if passed in buffer isnull.
-
checksum
Returns the algorithm end result as string, nevernull. After invoking this method, this instance should be discarded and not reused. For new checksum calculation you have to get new instance.
-