public class AlgorithmResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static AlgorithmResolver |
Default |
| Constructor and Description |
|---|
AlgorithmResolver() |
| Modifier and Type | Method and Description |
|---|---|
Algorithm |
get(String algorithmName)
Returns the implementation for an algorithm name.
|
void |
put(String algorithmName,
Algorithm provider)
Add/Update a named algorithm implementation.
|
void |
remove(String algorithmName)
Remove a named algorithm implementation.
|
public static final AlgorithmResolver Default
public Algorithm get(String algorithmName)
algorithmName - The algorithm name.public void put(String algorithmName, Algorithm provider)
algorithmName - The algorithm name.provider - The implementation of the algorithm.public void remove(String algorithmName)
algorithmName - The algorithm name/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/