注意这种调用JAR文件中的类的方法与在工程中把JAR文件导入CLASSPATH中是完全不同的!
主要通过下面的三个包来实现
java.net.URLClassLoader
java.util.jar
java.net.JarURLConnection
下面提供一个使用URLClassLoader的例子,另外的两个包的用法从思想角度来讲类似:
http://www.cnblogs.com/tankaixiong/archive/2013/02/27/2935203.html
我必须知道这一切是怎么发生的!