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