Component.getResource

Overview | Methods | This Package | All Packages

Component.getResource

Retrieves a named resource.

Syntax

public IDataStream getResource( String name )

Parameters

name

The name of the resource to be retrieved.

Return Value

Returns an object implementing the IDataStream interface that contains the resource. If no resource with the specified name is found, null is returned.