public class GetPackageName {
public static void main(String[] args) {
GetPackageName obj = new GetPackageName();
System.out.println(obj.getClass().getName());
System.out.println(obj.getClass().getName().substring(0,obj.getClass().getName().lastIndexOf(".")));
}
}
相关文章
- 03-20Get package name
- 03-20BRCM5.02编译六:No package 'zlib' found
- 03-20Given a code_combination_id how can i get the code description? 获取科目组合描述
- 03-20Name or service not known异常处理方法总结
- 03-20Name or service not known原因大全
- 03-20[('type','=','get_user_ht_type()')]">openerp学习笔记 domain 增加扩展支持,例如支持
[('type','=','get_user_ht_type()')] - 03-20Get小技巧等分列表
- 03-20找不到方法:'System.Net.Http.HttpRequestMessage System.Web.Http.Controllers.HttpActionContext.get_Request()'
- 03-20找不到方法: Int32 System.Environment.get_CurrentManagedThreadId() .
- 03-20Get A Transportation Network From OSMFile