Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.connection.tls
Interface PropertyReader

All Known Implementing Classes:
GConfigPropertyReader, GConfigTlsPropertyReader, KVListPropertyReader, MapPropertyReader, PropertiesReader, TransportParamsPropertyReader

public interface PropertyReader

Defines contract for configuration reader objects; ones that extract configuration option values from different sources of configuration data.

Generally used with TLSConfigurationParser.

Example:

 String transportParams = ...;
 PropertyReader reader = new TransportParamsPropertyReader(transportParams); // Use concrete reader type
 //...
 TLSConfiguration tlsClientConf = TLSConfigurationParser.parseTlsConfiguration(reader, true);
 //...
 TLSConfiguration tlsServerConf = TLSConfigurationParser.parseTlsConfiguration(reader, false);
 

See Also:
TLSConfigurationParser, MapPropertyReader, PropertiesReader, KVListPropertyReader

Method Summary
 java.lang.String getProperty(java.lang.String key)
          Extracts value of the option specified by key
 

Method Detail

getProperty

java.lang.String getProperty(java.lang.String key)
Extracts value of the option specified by key

Parameters:
key - Name of the option to extract
Returns:
Option value

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.