PropertyReader
public class KVListPropertyReader extends java.lang.Object implements PropertyReader
Implementation of PropertyReader
that extracts options from
KVList
instances.
Example:
KVList tlsProps = new KeyValueCollection();
tlsProps.addObject("tls", "1");
tlsProps.addObject("certificate", "client-cert.pem");
PropertyReader reader = new KVListPropertyReader(tlsProps);
//...
TLSConfiguration tlsClientConf = TLSConfigurationParser.parseTlsConfiguration(reader, true);
Constructor | Description |
---|---|
KVListPropertyReader(KVList kvl) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getProperty(java.lang.String key) |
Extracts value of the option specified by
key |
public KVListPropertyReader(KVList kvl)
public java.lang.String getProperty(java.lang.String key)
PropertyReader
key
getProperty
in interface PropertyReader
key
- Name of the option to extractSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.