All Downloads are FREE. Search and download functionalities are using the official Maven repository.

delight.strings.ClassNameUtils Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
package delight.strings;

public final class ClassNameUtils {

	/**
	 * 

Returns the name of a class without the package. *

For instance delight.strings.StringUtils will become StringUtils * @return */ public static String getClassNameWithoutPackage(Class clazz) { String name = clazz.getName(); return name.substring(name.lastIndexOf(".")+1); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy