URLClassLoader.FindResources(String) Method

Definition

Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.

[Android.Runtime.Register("findResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "GetFindResources_Ljava_lang_String_Handler")]
public virtual Java.Util.IEnumeration? FindResources (string? name);
[<Android.Runtime.Register("findResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "GetFindResources_Ljava_lang_String_Handler")>]
override this.FindResources : string -> Java.Util.IEnumeration

Parameters

name
String

the resource name

Returns

an Enumeration of URLs If the loader is closed, the Enumeration will be empty.

Attributes

Exceptions

if an I/O error occurs while attempting to connect.

Remarks

Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.

Java documentation for java.net.URLClassLoader.findResources(java.lang.String).

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.

Applies to