public class BeanUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX_ADDER |
static java.lang.String |
PREFIX_GETTER_GET |
static java.lang.String |
PREFIX_GETTER_IS |
static java.lang.String |
PREFIX_SETTER |
Constructor and Description |
---|
BeanUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPropertyName(java.lang.reflect.Method method) |
static boolean |
isAdder(java.lang.reflect.Method method) |
static boolean |
isGetter(java.lang.reflect.Method method) |
static boolean |
isSetter(java.lang.reflect.Method method) |
static java.lang.String |
toLowerCamelCase(java.lang.String string)
Converts the given String into lower camel case form.
|
public static final java.lang.String PREFIX_GETTER_IS
public static final java.lang.String PREFIX_GETTER_GET
public static final java.lang.String PREFIX_SETTER
public static final java.lang.String PREFIX_ADDER
public static boolean isAdder(java.lang.reflect.Method method)
method
- to check if it is an 'adder' method.public static boolean isGetter(java.lang.reflect.Method method)
method
- to check if it is a standard java beans getter.public static boolean isSetter(java.lang.reflect.Method method)
method
- to check if it is a standard java beans setter.public static java.lang.String getPropertyName(java.lang.reflect.Method method)
method
- to get the associated property name for.public static java.lang.String toLowerCamelCase(java.lang.String string)
string
- to decapitalize.Copyright © 2010 - 2020 Adobe. All Rights Reserved