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