Java Class File Name Get classFileName(Class cl)

Here you can find the source of classFileName(Class cl)

Description

class File Name

License

Open Source License

Declaration

public static String classFileName(Class<?> cl) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String classFileName(Class<?> cl) {
        return cl.getName().replace('.', '/') + ".class";
    }/*w ww . j ava  2s  .c  o m*/
}

Related

  1. classFileName(Class clazz)
  2. classFileName(String className)
  3. classFileName(String packageName, String className)
  4. classFileNameFromClassName(String classname)
  5. classFileNameWithTypeAndExt(String className, String type, String ext)