All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.net.URLClassLoader Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

The newest version!
package java.net;

public class URLClassLoader extends ClassLoader {
	private URL[] urls;

	public URLClassLoader(URL[] urls, ClassLoader parent) {
		super(parent);
		this.urls = urls;
	}

	public URLClassLoader(URL[] urls) {
		super();
		this.urls = urls;
	}

	public URL[] getURLs() {
		return urls;
	}

	public static URLClassLoader newInstance(final URL[] urls, final ClassLoader parent) {
		return new URLClassLoader(urls, parent);
	}

	public static URLClassLoader newInstance(final URL[] urls) {
		return new URLClassLoader(urls);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy