Here you can find the source of classNameToJavaPath(String name)
public static String classNameToJavaPath(String name)
//package com.java2s; //License from project: Open Source License public class Main { public static final char FQN_SEPARATOR = '.'; public static final char PATH_SEPERATOR = '/'; public static String classNameToJavaPath(String name) { return (name.replace(FQN_SEPARATOR, PATH_SEPERATOR) + ".java"); }/*from w ww. j a v a2 s . c o m*/ }