PropertyReader
public class PropertiesReader extends java.lang.Object implements PropertyReader
Implementation of PropertyReader
that extracts options from
Properties
instances.
Example:
Properties tlsProps = new Properties();
tlsProps.load(new FileInputStream("tls.properties"));
PropertyReader reader = new PropertiesReader(tlsProps);
//...
TLSConfiguration tlsClientConf = TLSConfigurationParser.parseTlsConfiguration(reader, true);
Constructor | Description |
---|---|
PropertiesReader(java.util.Properties props) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getProperty(java.lang.String key) |
Extracts value of the option specified by
key |
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.