Class BeanUtil
java.lang.Object
ch.qos.logback.core.joran.util.beans.BeanUtil
-
Field Details
-
PREFIX_GETTER_IS
- See Also:
-
PREFIX_GETTER_GET
- See Also:
-
PREFIX_SETTER
- See Also:
-
PREFIX_ADDER
- See Also:
-
-
Constructor Details
-
BeanUtil
public BeanUtil()
-
-
Method Details
-
isAdder
-
isGetter
-
isSetter
-
getPropertyName
- 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
Converts the given String into lower camel case form.- Parameters:
string- to decapitalize.- Returns:
- null if the given String is null. Empty 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.
-