类 ClassPathHacker


  • public class ClassPathHacker
    extends java.lang.Object
    作者:
    Yaqiang Wang
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static void addFile​(java.io.File f)
      Add a jar file
      static void addFile​(java.lang.String s)
      Add a jar file
      static void addURL​(java.net.URL u)
      Add URL
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ClassPathHacker

        public ClassPathHacker()
    • 方法详细资料

      • addFile

        public static void addFile​(java.lang.String s)
                            throws java.io.IOException
        Add a jar file
        参数:
        s - Jar file path
        抛出:
        java.io.IOException
      • addFile

        public static void addFile​(java.io.File f)
                            throws java.io.IOException
        Add a jar file
        参数:
        f - Jar file object
        抛出:
        java.io.IOException
      • addURL

        public static void addURL​(java.net.URL u)
                           throws java.io.IOException
        Add URL
        参数:
        u - The URL
        抛出:
        java.io.IOException