Package weka.core
Class ClassloaderUtil
java.lang.Object
weka.core.ClassloaderUtil
- All Implemented Interfaces:
RevisionHandler
Utility class that can add jar files to the classpath dynamically.
- Version:
- $Revision: 10203 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}org
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ClassloaderUtil
public ClassloaderUtil()
-
-
Method Details
-
addFile
Add file to CLASSPATH- Parameters:
s
- File name- Throws:
IOException
- if something goes wrong when adding a file
-
addFile
Add file to CLASSPATH- Parameters:
f
- File object- Throws:
IOException
- if something goes wrong when adding a file
-
addURL
Add URL to CLASSPATH- Parameters:
u
- URL- Throws:
IOException
- if something goes wrong when adding a url
-
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Returns:
- the revision
-