|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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);
TLSConfigurationParser
,
MapPropertyReader
,
PropertiesReader
,
KVListPropertyReader
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String key)
Extracts value of the option specified by key |
Method Detail |
---|
java.lang.String getProperty(java.lang.String key)
key
key
- Name of the option to extract
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |