Package de.hsh.graja.util
Class ClassPathHacker
java.lang.Object
de.hsh.graja.util.ClassPathHacker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
static URLClassLoader
copyClassPathAndCreateClassLoader
(List<String> classPath, Path toDir, boolean deleteOnExit)
-
Constructor Details
-
ClassPathHacker
public ClassPathHacker()
-
-
Method Details
-
addFile
- Throws:
IOException
-
addFile
- Throws:
IOException
-
addURL
- Throws:
IOException
-
addFileToContextClassloader
- Throws:
Exception
-
copyClassPathAndCreateClassLoader
public static URLClassLoader copyClassPathAndCreateClassLoader(List<String> classPath, Path toDir, boolean deleteOnExit) throws IOException - Throws:
IOException
-