I just start using Java Velocity. Now I want to create a java class template.
package $app.package_namespace public class ${app.name}Station { #foreac
If you are using commons-lang you can use the StringUtils class:
commons-lang
StringUtils
context.put("StringUtils", org.apache.commons.lang3.StringUtils.class);
Then in your template:
... return get$StringUtils.capitalize(s_attribute.name)(); ...