Condividi tramite


ClassLoader.FindResources(String) Method

Definition

Returns an enumeration of java.net.URL <tt>URL</tt> objects representing all the resources with the given name.

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

Parameters

name
String

The resource name

Returns

An enumeration of java.net.URL <tt>URL</tt> objects for the resources

Attributes

Exceptions

if an I/O error occurs.

Remarks

Returns an enumeration of java.net.URL <tt>URL</tt> objects representing all the resources with the given name. Class loader implementations should override this method to specify where to load resources from.

Added in 1.2.

Java documentation for java.lang.ClassLoader.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