public static String convertToJavaClassName(String name){
  int dotIndex=name.indexOf('.');
  if (dotIndex >= 0) {
    name=name.substring(0,dotIndex);
  }
  String[] split=name.split("[_-]");
  StringBuilder out=new StringBuilder();
  for (  String section : split) {
    out.append(StringUtil.capitalize(section));
  }
  return out.toString();
}

public static String convertToJavaClassName ( String name ) { int dotIndex = name . indexOf ( '.' ) ; if ( dotIndex >= 0 ) { name = name . substring ( 0 , dotIndex ) ; } String [ ] split = name . split ( "[_-]" ) ; StringBuilder out = new StringBuilder ( ) ; for ( String section : split ) { out . append ( StringUtil . capitalize ( section ) ) ; } return out . toString ( ) ; }
utility method that implements data binding ' s logic to convert a file name to a java class name
