com.spire.barcode
Interface IChecksum
public interface IChecksum
Interface to calculate checksums on barcode data.
Classes that calculate checksums on barcode data should implement this interface.
It makes for a pluggable checksum architecture.
Method Summary |
java.lang.String |
calculate(java.lang.String data)
Calculates the checksum of a string of data. |
calculate
java.lang.String calculate(java.lang.String data)
- Calculates the checksum of a string of data.
- Parameters:
data
- The data to calculate the checksum for.
- Returns:
- The calculated checksum.