- All Known Implementing Classes:
public interface ChecksumAlgorithmFactory
A component representing a checksum factory: provides
ChecksumAlgorithminstances, name and extension to be used with this algorithm. While directly injecting components of this type is possible, it is not recommended. To obtain factory instances use
Method SummaryModifier and TypeMethodDescriptionEach invocation of this method returns a new instance of algorithm, never
nullvalue.Returns the file extension to be used for given checksum file (without leading dot), never
getName()Returns the algorithm name, usually used as key, never
getNameReturns the algorithm name, usually used as key, never
nullvalue. The name is a standard name of algorithm (if applicable) or any other designator that is algorithm commonly referred with. Example: "SHA-1".
getFileExtensionReturns the file extension to be used for given checksum file (without leading dot), never
null. The extension should be file and URL path friendly, and may differ from value returned by
getName(). Example: "sha1".
getAlgorithmEach invocation of this method returns a new instance of algorithm, never