public static URLClassLoader newInstance (URL[] urls)

Creates a new instance of URLClassLoader for the specified URLs and default parent class loader. If a security manager is installed, the loadClass method of the URLClassLoader returned by this method will invoke the SecurityManager.checkPackageAccess before loading the class.

Parameters:
urls    the URLs to search for classes and resources

Returns:  the resulting class loader

Exceptions:
NullPointerException    if urls is null.