java获取类名不包括路径

class.getSimpleName(),就能获得仅仅的类名

class.getName()获得的是全路径的类名

posted @ 2017-07-26 16:48  跨境电商杂货铺  阅读(358)  评论(0)    收藏  举报