public static String convertResourcePathToClassName(String resourcePath){
  Assert.notNull(resourcePath,"Resource path must not be null");
  return resourcePath.replace('/','.');
}

public static String convertResourcePathToClassName ( String resourcePath ) { Assert . notNull ( resourcePath , "Resource path must not be null" ) ; return resourcePath . replace ( '/' , '.' ) ; }
convert a " / " - based resource path to a " . " - based fully qualified class name .
