public class CertPathValidatorConverter extends AbstractBaseConverter<CertPathValidator>
String into a CertPathValidator.
For a description of the format, see CertPathValidator.getInstance(String).
Example:
@Parameter(names = { "--certPathValidator" }, converter = CertPathValidatorConverter.class)
private CertPathValidator certPathValidator;
CertPathValidator,
CertPathValidator.getInstance(String)failOnNull, targetClass| Constructor and Description |
|---|
CertPathValidatorConverter(String optionName)
Constructs a converter.
|
| Modifier and Type | Method and Description |
|---|---|
protected CertPathValidator |
convertImpl(String value)
Converts a value.
|
convert, getErrorString, isSingle, newParameterException, newParameterException, split, toInt, toURIpublic CertPathValidatorConverter(String optionName)
optionName - The option name, may be null.protected CertPathValidator convertImpl(String value) throws NoSuchAlgorithmException
AbstractBaseConverterconvertImpl in class AbstractBaseConverter<CertPathValidator>value - the value to convertNoSuchAlgorithmExceptionCopyright © 2016-2016 Gary Gregory. All Rights Reserved.
Use is subject to The Apache Software License, Version 2.0