public class BeanUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
capitalize(String property)
This is the complement the behavior of the decapitalize(string) method.
|
static String |
decapitalize(String property)
Returns a new String which is the same as the original except the first letter
will be lowercase except for some special cases as per JavaBean handling.
|
public static String decapitalize(String property)
property
- a string representing the name of a JavaBean-like propertypublic static String capitalize(String property)
property
- the property name to capitalize