Here you can find the source of convertInternalClassNameToQualifiedName(String className)
Parameter | Description |
---|---|
className | name to be converted |
public static String convertInternalClassNameToQualifiedName(String className)
//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); } }