public static String classNameToResourceName(String clsName){
  return clsName.replaceAll("\\.","/") + ".class";
}

public static String classNameToResourceName ( String clsName ) { return clsName . replaceAll ( "\\." , "/" ) + ".class" ; }
gets resource path for the class .
