ClassLoader.GetSystemResources(String) Method

Definition

Finds all resources of the specified name from the search path used to load classes.

[Android.Runtime.Register("getSystemResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "")]
public static Java.Util.IEnumeration? GetSystemResources (string? name);
[<Android.Runtime.Register("getSystemResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "")>]
static member GetSystemResources : string -> Java.Util.IEnumeration

Parameters

name
String

The resource name

Returns

An enumeration of resource java.net.URL <tt>URL</tt> objects

Attributes

Exceptions

if an I/O error occurs.

Remarks

Finds all resources of the specified name from the search path used to load classes. The resources thus found are returned as an java.util.Enumeration <tt>Enumeration</tt> of java.net.URL <tt>URL</tt> objects.

The search order is described in the documentation for #getSystemResource(String).

Added in 1.2.

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