Class ChecksumAlgorithmFactorySupport
- java.lang.Object
-
- org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySupport
-
- All Implemented Interfaces:
ChecksumAlgorithmFactory
public abstract class ChecksumAlgorithmFactorySupport extends java.lang.Object implements ChecksumAlgorithmFactory
Support class forChecksumAlgorithmFactory
implementations.- Since:
- 1.8.0
-
-
Constructor Summary
Constructors Constructor Description ChecksumAlgorithmFactorySupport(java.lang.String name, java.lang.String fileExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileExtension()
Returns the file extension to be used for given checksum algorithm (without leading dot), nevernull
.java.lang.String
getName()
Returns the algorithm name, usually used as key, nevernull
value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory
getAlgorithm
-
-
-
-
Constructor Detail
-
ChecksumAlgorithmFactorySupport
public ChecksumAlgorithmFactorySupport(java.lang.String name, java.lang.String fileExtension)
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the algorithm name, usually used as key, nevernull
value.- Specified by:
getName
in interfaceChecksumAlgorithmFactory
-
getFileExtension
public java.lang.String getFileExtension()
Returns the file extension to be used for given checksum algorithm (without leading dot), nevernull
.- Specified by:
getFileExtension
in interfaceChecksumAlgorithmFactory
-
-