code: public static String formatClassName(String fileName)
  	{
  		if(fileName == null || fileName.length() == 0)
  			return null;
  		
  		String className = fileName.replace('/', '.');
  		return className.replace(".class", "");
  	}
docs: Example &quot;pos/solution.TestObj&quot; will return &quot;solution.TestObj&quot;
  @param fileName the file name
  @return the class path