public enum ClassNames extends Enum<ClassNames>
utilities to manipulate class names
Modifier and Type | Method and Description |
---|---|
static String |
classFileNameToClassName(String fileName) |
static String |
classNameToClassFileName(String className) |
static String |
classNameToClassFileName(String className,
boolean keepInnerClass) |
static String |
sourceFileNameToClassName(File baseDir,
String filePath) |
static ClassNames |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ClassNames[] values()
for (ClassNames c : ClassNames.values()) System.out.println(c);
public static ClassNames valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static String classNameToClassFileName(String className, boolean keepInnerClass)
Copyright © 2014–2018 ActFramework. All rights reserved.