Java Class Name Convert To classNameToFullyQualifiedClassName(String packageName, String className)

Here you can find the source of classNameToFullyQualifiedClassName(String packageName, String className)

Description

class Name To Fully Qualified Class Name

License

Open Source License

Declaration

public static String classNameToFullyQualifiedClassName(String packageName, String className) 

Method Source Code

//package com.java2s;
/* Redline Smalltalk, Copyright (c) James C. Ladd. All rights reserved. See LICENSE in the root of this distribution */

public class Main {
    public static String classNameToFullyQualifiedClassName(String packageName, String className) {
        return (packageName.length() > 0 ? packageName + "." + className : className).replace(".", "/");
    }/*from  w  w w . j a v a 2 s.c o m*/
}

Related

  1. classNameToAsm(Class c1ass)
  2. classNameToConstant(String className)
  3. classNameToDirectoryName(final Class targetClass)
  4. classnameToFilename(String classname)
  5. classNameToFilePath(String className)
  6. classNameToInternalClassName(String className)
  7. classNameToJavaPath(String name)
  8. classNameToJavaUri(String className)
  9. classNameToPackageName(String fqn)