Package org.processmining.framework.util
Class PathHacker
java.lang.Object
org.processmining.framework.util.PathHacker
Dynamically adds jars or dll files at runtime to the environment for direct
use
- Author:
- T. van der Wiel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
Adds the given URL to the classpath for direct usestatic void
addLibPath
(String path) ensures the given path is in java.library.pathstatic void
-
Constructor Details
-
PathHacker
public PathHacker()
-
-
Method Details
-
addLibPath
ensures the given path is in java.library.path- Parameters:
path
-- Throws:
Exception
-
addLibraryPathFromDirectory
-
addJar
-
addJar
-
addJar
Adds the given URL to the classpath for direct use- Parameters:
URL
- of the Java Archive
-