Logo Search packages:      
Sourcecode: jamvm version File versions

static final InputStream java::lang::ClassLoader::getSystemResourceAsStream ( String  name  )  [inline, static]

Get a resource using the system classloader.

Parameters:
name the name of the resource relative to the system classloader
Returns:
an input stream for the resource, or null
Since:
1.1

Definition at line 671 of file ClassLoader.java.

References getSystemResource().

  {
    try
      {
        URL url = getSystemResource(name);
        if (url == null)
          return null;
        return url.openStream();
      }
    catch (IOException e)
      {
        return null;
      }
  }


Generated by  Doxygen 1.6.0   Back to index