com.genesyslab.platform.apptemplate.util
Class ConfigurationUtil
java.lang.Object
com.genesyslab.platform.apptemplate.util.ConfigurationUtil
public class ConfigurationUtil
- extends java.lang.Object
Method Summary |
static java.lang.String |
findAppParameter(java.lang.String applicationtParameters,
java.lang.String paramName)
Searches applicationtParameters for an occurrence of specified parameter name, returns parameter value. |
static java.lang.String |
findTransportParameter(java.lang.String transportParameters,
java.lang.String paramName)
Searches transportParameters for an occurrence of specified parameter name, returns parameter value. |
static java.lang.String |
getLocalhostName()
|
static boolean |
isFalse(java.lang.String value)
|
static boolean |
isTrue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationUtil
public ConfigurationUtil()
findTransportParameter
public static java.lang.String findTransportParameter(java.lang.String transportParameters,
java.lang.String paramName)
- Searches transportParameters for an occurrence of specified parameter name, returns parameter value.
- Parameters:
transportParameters
- Semicolon-separated string of parameter pairs "name=value"paramName
- Name of the parameter
- Returns:
- Parameter value (may be empty string) or null if parameter name is not found
findAppParameter
public static java.lang.String findAppParameter(java.lang.String applicationtParameters,
java.lang.String paramName)
- Searches applicationtParameters for an occurrence of specified parameter name, returns parameter value.
Truncates spaces before and after pair.
- Parameters:
transportParameters
- Semicolon-separated string of parameter pairs "name=value"paramName
- Name of the parameter
- Returns:
- Parameter value (may be empty string) or null if parameter name is not found
isTrue
public static boolean isTrue(java.lang.String value)
isFalse
public static boolean isFalse(java.lang.String value)
getLocalhostName
public static java.lang.String getLocalhostName()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.