Here you can find the source of toInternalName(String className)
public static String toInternalName(String className)
//package com.java2s; //License from project: Common Public License public class Main { public static String toInternalName(String className) { return dotsToSlashes(className); }/*from w ww. j a v a2s .c o m*/ public static String dotsToSlashes(String resourceName) { return resourceName.replace('.', '/'); } }