KorgeReloadClassLoader
class KorgeReloadClassLoader(val extraFolders: List<String> = emptyList(), val allEntries: List<File> = (extraFolders + System.getProperty("java.class.path").split(File.pathSeparator)).map { File(it).absoluteFile }.distinct(), val jars: List<File> = allEntries.filter { it.name.endsWith(".jar") }, val folders: List<File> = allEntries.filter { !it.name.endsWith(".jar") }, parent: ClassLoader? = null) : ClassLoader
Constructors
Link copied to clipboard
constructor(extraFolders: List<String> = emptyList(), allEntries: List<File> = (extraFolders + System.getProperty("java.class.path").split(File.pathSeparator)).map { File(it).absoluteFile }.distinct(), jars: List<File> = allEntries.filter { it.name.endsWith(".jar") }, folders: List<File> = allEntries.filter { !it.name.endsWith(".jar") }, parent: ClassLoader? = null)