public abstract class ChecksumAlgorithmFactorySupport extends Object implements ChecksumAlgorithmFactory
ChecksumAlgorithmFactory implementations.| Constructor and Description |
|---|
ChecksumAlgorithmFactorySupport(String name,
String fileExtension) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileExtension()
Returns the file extension to be used for given checksum algorithm (without leading dot), never
null. |
String |
getName()
Returns the algorithm name, usually used as key, never
null value. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic ChecksumAlgorithmFactorySupport(String name, String fileExtension)
public String getName()
null value.getName in interface ChecksumAlgorithmFactorypublic String getFileExtension()
null.getFileExtension in interface ChecksumAlgorithmFactoryCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.