Java tutorial
//package com.java2s; public class Main { /** * Creates a dotted class name from a path/package name */ public static String c(String p) { return p.replace('/', '.'); } }