程序包 weka.core

类 ClassloaderUtil

java.lang.Object
weka.core.ClassloaderUtil
所有已实现的接口:
RevisionHandler

public class ClassloaderUtil extends Object implements RevisionHandler
Utility class that can add jar files to the classpath dynamically.
版本:
$Revision: 5562 $
作者:
Mark Hall (mhall{[at]}pentaho{[dot]}org
  • 构造器详细资料

    • ClassloaderUtil

      public ClassloaderUtil()
  • 方法详细资料

    • addFile

      public static void addFile(String s) throws IOException
      Add file to CLASSPATH
      参数:
      s - File name
      抛出:
      IOException - if something goes wrong when adding a file
    • addFile

      public static void addFile(File f) throws IOException
      Add file to CLASSPATH
      参数:
      f - File object
      抛出:
      IOException - if something goes wrong when adding a file
    • addURL

      public static void addURL(URL u) throws IOException
      Add URL to CLASSPATH
      参数:
      u - URL
      抛出:
      IOException - if something goes wrong when adding a url
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision