Class BeanUtil
- java.lang.Object
-
- ch.qos.logback.core.joran.util.beans.BeanUtil
-
@Deprecated(since="2022-01-27") public class BeanUtil extends Object
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Encapsulates utility methods associated with standard java beans.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFIX_ADDER
Deprecated.static String
PREFIX_GETTER_GET
Deprecated.static String
PREFIX_GETTER_IS
Deprecated.static String
PREFIX_SETTER
Deprecated.
-
Constructor Summary
Constructors Constructor Description BeanUtil()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
getPropertyName(Method method)
Deprecated.static boolean
isAdder(Method method)
Deprecated.static boolean
isGetter(Method method)
Deprecated.static boolean
isSetter(Method method)
Deprecated.static String
toLowerCamelCase(String string)
Deprecated.Converts the given String into lower camel case form.
-
-
-
Field Detail
-
PREFIX_GETTER_IS
public static final String PREFIX_GETTER_IS
Deprecated.- See Also:
- Constant Field Values
-
PREFIX_GETTER_GET
public static final String PREFIX_GETTER_GET
Deprecated.- See Also:
- Constant Field Values
-
PREFIX_SETTER
public static final String PREFIX_SETTER
Deprecated.- See Also:
- Constant Field Values
-
PREFIX_ADDER
public static final String PREFIX_ADDER
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
isAdder
public static boolean isAdder(Method method)
Deprecated.- Parameters:
method
- to check if it is an 'adder' method.- Returns:
- true if the given method is an 'adder' method.
-
isGetter
public static boolean isGetter(Method method)
Deprecated.- Parameters:
method
- to check if it is a standard java beans getter.- Returns:
- true if the given method is a standard java beans getter.
-
isSetter
public static boolean isSetter(Method method)
Deprecated.- Parameters:
method
- to check if it is a standard java beans setter.- Returns:
- true if the given method is a standard java beans setter.
-
getPropertyName
public static String getPropertyName(Method method)
Deprecated.- Parameters:
method
- to get the associated property name for.- Returns:
- The property name of the associated property if the given method matches a standard java beans getter or setter.
-
toLowerCamelCase
public static String toLowerCamelCase(String string)
Deprecated.Converts the given String into lower camel case form.- Parameters:
string
- to decapitalize.- Returns:
- null if the given String is null. Emtpy string if the given string is empty. The given string if the first two consecutive letters are in upper case. The given string with the first letter in lower case otherwise, which might be the given string.
-
-