ClassLoader.getResourceAsStream

ClassLoader.getResourceAsStream

Class Overview | Class Members | This Package | All Packages

Syntax
public InputStream getResourceAsStream( String name )
Parameters
name
the name of the resource, to be used as is.
Returns
an InputStream on the resource, or null if not found.
Description
Get an InputStream on a given resource. Will return null if no resource with this name is found.

The class loader can choose what to do to locate the resource.


Send feedback to MSDN.Look here for MSDN Online resources.