static synchronized public InputStream getResourceAsStream(String name)
	{
		InputStream is = null;
		
		if (hook!=null)
		{
			is = hook.getResourceAsStream(name);	
		}
		else
		{
			Class cls = JavaLayerUtils.class;
			is = cls.getResourceAsStream(name);
		}
		
		return is;		
	}