|
Dashboard Builder Commons 6.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dashboard.commons.text.JavaNamesFormatter
public class JavaNamesFormatter
Allows formatting a String to a name acomplishing java names conventions.
| Method Summary | |
|---|---|
static String |
getterName(String propertyName)
Utility function to get the name of the getter corresponding a given property. |
static String |
setterName(String propertyName)
Utility function to get the name of the setter corresponding a given property. |
static String |
toJavaName(String name,
boolean firstLetterIsUpperCase)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String toJavaName(String name,
boolean firstLetterIsUpperCase)
name - Description of the ParameterfirstLetterIsUpperCase - Description of the Parameter
public static String setterName(String propertyName)
propertyName - The name of the property, e.g., "name".
public static String getterName(String propertyName)
propertyName - The name of the property, e.g., "name".
|
Dashboard Builder Commons 6.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||