Java Integer Convert To convertInternalClassNameToQualifiedName(String className)

Here you can find the source of convertInternalClassNameToQualifiedName(String className)

Description

This method converts given qualified class name to internal name by replacing / with .

License

LGPL

Parameter

Parameter Description
className name to be converted

Return

converted class name

Declaration

public static String convertInternalClassNameToQualifiedName(String className) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    /** The Constant DOT. */
    private static final char DOT = '.';
    /** The Constant SLASH. */
    private static final char SLASH = '/';

    /**//from  w  ww  .j a va 2s .  co m
     * This method converts given qualified class name to internal name by replacing / with .
     * 
     * @param className
     *            name to be converted
     * @return converted class name
     */
    public static String convertInternalClassNameToQualifiedName(String className) {
        if (className == null) {
            return className;
        }
        return className.replace(SLASH, DOT);
    }
}

Related

  1. convertInteger(String str)
  2. convertIntegerArrayToInt(Integer[] integerArray)
  3. convertIntegerToInt(Integer[] values)
  4. convertIntegerToTwoCharString(int integer)
  5. convertInteralNameToResourceName(String type1)
  6. convertInternalFormToQualifiedClassName( final String classInternalName)
  7. convertIntFromBytes(byte[] byteArray)
  8. convertIntfwl(String[] idArray)
  9. convertIntList(Integer[] list)