code: public String classToUrl(String className) {
  	ClassDoc classDoc = rootClassdocs.get(className);
  	if (classDoc != null) {
  	    String docRoot = optionProvider.getGlobalOptions().apiDocRoot;
  	    if (docRoot == null)
  		return null;
  	    return new StringBuilder(docRoot.length() + className.length() + 10).append(docRoot) //
  		    .append(classDoc.containingPackage().name().replace('.', '/')) //
  		    .append('/').append(classDoc.name()).append(".html").toString();
  	}
  	String docRoot = optionProvider.getGlobalOptions().getApiDocRoot(className);
  	    if (docRoot == null)
  		return null;
  	int split = splitPackageClass(className);
  	StringBuilder buf = new StringBuilder(docRoot.length() + className.length() + 10).append(docRoot);
  	if (split > 0) // Avoid -1, and the extra slash then.
  	    buf.append(className.substring(0, split).replace('.', '/')).append('/');
  	return buf.append(className, Math.min(split + 1, className.length()), className.length()) //
  		.append(".html").toString();
      }
docs: Convert the class name into a corresponding URL