public class TrustManagerFactoryConverter extends AbstractBaseConverter<TrustManagerFactory>
String into a TrustManagerFactory.
For a description of the format, see TrustManagerFactory.getInstance(String).
To get a TrustManagerFactory from a specific Provider, use the syntax algorithm:provider as described by
TrustManagerFactory.getInstance(String, String).
Example:
@Parameter(names = { "--trustManagerFactory" }, converter = TrustManagerFactoryConverter.class)
private TrustManagerFactory trustManagerFactory;
TrustManagerFactory,
TrustManagerFactory.getInstance(String),
TrustManagerFactory.getInstance(String, String)failOnNull, targetClass| Constructor and Description |
|---|
TrustManagerFactoryConverter(String optionName)
Constructs a converter.
|
| Modifier and Type | Method and Description |
|---|---|
protected TrustManagerFactory |
convertImpl(String value)
Converts a value.
|
convert, getErrorString, isSingle, newParameterException, newParameterException, split, toInt, toURIpublic TrustManagerFactoryConverter(String optionName)
optionName - The option name, may be null.protected TrustManagerFactory convertImpl(String value) throws NoSuchAlgorithmException, NoSuchProviderException
AbstractBaseConverterconvertImpl in class AbstractBaseConverter<TrustManagerFactory>value - the value to convertNoSuchAlgorithmExceptionNoSuchProviderExceptionCopyright © 2016-2016 Gary Gregory. All Rights Reserved.
Use is subject to The Apache Software License, Version 2.0