Microsoft SDK for Java

ResourceManager.getResource

Loads a binary resource file for the specified class.

Syntax

public static IDataStream getResource( Class src, String name )

Parameters

src

The class to load the resource for.

name

The name of the resource to be loaded.

Return Value

Returns an IDataStream object that contains the specified resource.

Remarks

This method does not load a resource property file, but rather a stand-alone binary file that is a resource for the specified class.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.