Package nl.knaw.dans.bagit.hash
Class StandardBagitAlgorithmNameToSupportedAlgorithmMapping
java.lang.Object
nl.knaw.dans.bagit.hash.StandardBagitAlgorithmNameToSupportedAlgorithmMapping
- All Implemented Interfaces:
BagitAlgorithmNameToSupportedAlgorithmMapping
public class StandardBagitAlgorithmNameToSupportedAlgorithmMapping
extends Object
implements BagitAlgorithmNameToSupportedAlgorithmMapping
Provides a mapping between bagit algorithm names and
SupportedAlgorithm
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
messages
-
-
Constructor Details
-
StandardBagitAlgorithmNameToSupportedAlgorithmMapping
public StandardBagitAlgorithmNameToSupportedAlgorithmMapping()
-
-
Method Details
-
getSupportedAlgorithm
public SupportedAlgorithm getSupportedAlgorithm(String bagitAlgorithmName) throws UnsupportedAlgorithmException - Specified by:
getSupportedAlgorithm
in interfaceBagitAlgorithmNameToSupportedAlgorithmMapping
- Throws:
UnsupportedAlgorithmException
-