Java Class File Name Get classFileName(String className)

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

Description

class File Name

License

Apache License

Declaration

public static String classFileName(String className) 

Method Source Code

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

public class Main {
    public static String classFileName(String className) {
        return classFileNameWithType(className, "");
    }/*from  w  w  w .j  a  va2  s  .com*/

    public static String classFileNameWithType(String className, String type) {
        return className + type + ".java";
    }
}

Related

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