Package org.apache.maven.api.services
Interface ChecksumAlgorithmService.ChecksumCalculator
- Enclosing interface:
- ChecksumAlgorithmService
public static interface ChecksumAlgorithmService.ChecksumCalculator
The checksum calculator.
- 
Method SummaryModifier and TypeMethodDescriptionchecksum()Returns the algorithm end result as string, nevernull.voidupdate(ByteBuffer input) Updates the checksum algorithm inner state with input.
- 
Method Details- 
updateUpdates the checksum algorithm inner state with input.- Throws:
- NullPointerException- if passed in buffer is- null.
 
- 
checksumReturns 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.
 
-