package com.jqmobile.core.utils; /** * <p>Class反射工具类</p> * * <p>Copyright: 版权所有 (c) 2002 - 2015<br> * Company: 久其</p> * * @author modi * @version 2014年3月18日 */ public class ClassForNameUtil { public static ClassForNameUtil cfn = new ClassForNameUtil(); protected ClassForNameUtil(){ } public static Class<?> forName(String name) throws ClassNotFoundException{ return cfn.forName_(name); } public Class<?> forName_(String name) throws ClassNotFoundException{ return Class.forName(name, true, Thread.currentThread().getContextClassLoader()); } }