Package ch.qos.logback.core.util
Class OptionHelper
java.lang.Object
ch.qos.logback.core.util.OptionHelper
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
Deprecated.Return a String[] of size two.static String
Deprecated.Lookup a key from the environment.static Properties
Deprecated.Very similar toSystem.getProperties()
except that theSecurityException
is absorbed.static String
getSystemProperty
(String key) Deprecated.Very similar toSystem.getProperty
except that theSecurityException
is absorbed.static String
getSystemProperty
(String key, String def) Deprecated.Very similar toSystem.getProperty
except that theSecurityException
is absorbed.static Object
instantiateByClassName
(String className, Class<?> superClass, Context context) Deprecated.static Object
instantiateByClassName
(String className, Class<?> superClass, ClassLoader classLoader) Deprecated.static Object
instantiateByClassNameAndParameter
(String className, Class<?> superClass, Context context, Class<?> type, Object param) Deprecated.static Object
instantiateByClassNameAndParameter
(String className, Class<?> superClass, ClassLoader classLoader, Class<?> type, Object parameter) Deprecated.static boolean
Deprecated.static final boolean
isNotEmtpy
(Object[] array) Deprecated.static final boolean
isNullOrEmpty
(Object[] array) Deprecated.static String
propertyLookup
(String key, PropertyContainer pc1, PropertyContainer pc2) Deprecated.static void
setSystemProperties
(ContextAware contextAware, Properties props) Deprecated.static void
setSystemProperty
(ContextAware contextAware, String key, String value) Deprecated.static String
substVars
(String val, PropertyContainer pc1) Deprecated.static String
substVars
(String input, PropertyContainer pc0, PropertyContainer pc1) Deprecated.See http://logback.qos.ch/manual/configuration.html#variableSubstitutionstatic boolean
Deprecated.Ifvalue
is "true", thentrue
is returned.
-
Constructor Details
-
OptionHelper
public OptionHelper()Deprecated.
-
-
Method Details
-
instantiateByClassName
public static Object instantiateByClassName(String className, Class<?> superClass, Context context) throws IncompatibleClassException, DynamicClassLoadingException Deprecated. -
instantiateByClassNameAndParameter
public static Object instantiateByClassNameAndParameter(String className, Class<?> superClass, Context context, Class<?> type, Object param) throws IncompatibleClassException, DynamicClassLoadingException Deprecated. -
instantiateByClassName
public static Object instantiateByClassName(String className, Class<?> superClass, ClassLoader classLoader) throws IncompatibleClassException, DynamicClassLoadingException Deprecated. -
instantiateByClassNameAndParameter
public static Object instantiateByClassNameAndParameter(String className, Class<?> superClass, ClassLoader classLoader, Class<?> type, Object parameter) throws IncompatibleClassException, DynamicClassLoadingException Deprecated. -
substVars
Deprecated.- See Also:
-
substVars
Deprecated.See http://logback.qos.ch/manual/configuration.html#variableSubstitution -
propertyLookup
Deprecated. -
getSystemProperty
Deprecated.Very similar toSystem.getProperty
except that theSecurityException
is absorbed.- Parameters:
key
- The key to search for.def
- The default value to return.- Returns:
- the string value of the system property, or the default value if there is no property with that key.
-
getEnv
Deprecated.Lookup a key from the environment.- Parameters:
key
-- Returns:
- value corresponding to key from the OS environment
-
getSystemProperty
Deprecated.Very similar toSystem.getProperty
except that theSecurityException
is absorbed.- Parameters:
key
- The key to search for.- Returns:
- the string value of the system property.
-
setSystemProperties
Deprecated. -
setSystemProperty
Deprecated. -
getSystemProperties
Deprecated.Very similar toSystem.getProperties()
except that theSecurityException
is absorbed.- Returns:
- the system properties
-
extractDefaultReplacement
Deprecated.Return a String[] of size two. The first item containing the key part and the second item containing a default value specified by the user. The second item will be null if no default value is specified.- Parameters:
key
-- Returns:
-
toBoolean
Deprecated.Ifvalue
is "true", thentrue
is returned. Ifvalue
is "false", thentrue
is returned. Otherwise,default
is returned.Case of value is unimportant.
-
isEmpty
Deprecated. -
isNullOrEmpty
Deprecated. -
isNotEmtpy
Deprecated.
-