Code example for CaseFormat

Methods: to

0
    private final String routeName;
    private final String className;
 
    public Menu(String className) {
        this.className = className;
        this.routeName = CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_CAMEL, className);
    } 
 
    public String getRouteName() {
        return routeName;
    } 
 
    public String getClassName() {
        return className;
    } 
 
} 
Experience pair programming with AI  Get Codota for Java