code: static synchronized public InputStream getResourceAsStream(String name)
  	{
  		InputStream is = null;
  		
  		if (hook!=null)
  		{
  			is = hook.getResourceAsStream(name);	
  		}
  		else
  		{
  			Class<JavaLayerUtils> cls = JavaLayerUtils.class;
  			is = cls.getResourceAsStream(name);
  		}
  		
  		return is;		
  	}
docs: Retrieves an InputStream for a named resource.
  
  @param name	The name of the resource. This must be a simple
  name, and not a qualified package name.
  
  @return		The InputStream for the named resource, or null if
  the resource has not been found. If a hook has been
  provided, its getResourceAsStream() method is called
  to retrieve the resource.