Android examples for java.lang:Class
get Class Name from qualified Name
public class Main{ public static String getClassName(String qualifiedName) { return qualifiedName.substring(qualifiedName.lastIndexOf(".") + 1); }/*from www. j ava 2 s .co m*/ }