Here you can find the source of basenamePart(String className)
static String basenamePart(String className)
//package com.java2s; //License from project: Open Source License public class Main { static String basenamePart(String className) { int lastdot = className.lastIndexOf('.'); return (lastdot == -1) ? className : className.substring(lastdot + 1); }/*w w w . j a v a 2 s. co m*/ }