URLClassLoader.AddURL(URL) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends the specified URL to the list of URLs to search for classes and resources.
[Android.Runtime.Register("addURL", "(Ljava/net/URL;)V", "GetAddURL_Ljava_net_URL_Handler")]
protected virtual void AddURL (Java.Net.URL? url);
[<Android.Runtime.Register("addURL", "(Ljava/net/URL;)V", "GetAddURL_Ljava_net_URL_Handler")>]
abstract member AddURL : Java.Net.URL -> unit
override this.AddURL : Java.Net.URL -> unit
Parameters
- url
- URL
the URL to be added to the search path of URLs
- Attributes
Remarks
Appends the specified URL to the list of URLs to search for classes and resources.
If the URL specified is null
or is already in the list of URLs, or if this loader is closed, then invoking this method has no effect.
Java documentation for java.net.URLClassLoader.addURL(java.net.URL)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.