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, wait
getAlgorithm
public ChecksumAlgorithmFactorySupport(String name, String fileExtension)
public String getName()
null
value.getName
in interface ChecksumAlgorithmFactory
public String getFileExtension()
null
.getFileExtension
in interface ChecksumAlgorithmFactory
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.