code: @Nullable
    public static InputStream getResourceAsStream (@Nonnull final Class <?> aClass, @Nonnull @Nonempty final String sPath)
    {
      ValueEnforcer.notNull (aClass, "Class");
      ValueEnforcer.notEmpty (sPath, "Path");
  
      // Ensure the path does start with a "/"
      final String sPathWithSlash = _getPathWithLeadingSlash (sPath);
  
      // returns null if not found
      final InputStream aIS = aClass.getResourceAsStream (sPathWithSlash);
      return StreamHelper.checkForInvalidFilterInputStream (aIS);
    }
docs: Get the input stream of the passed resource using the class loader of the
  specified class only. This is a sanity wrapper around
  <code>class.getResourceAsStream (sPath)</code>.
  
  @param aClass
  The class to be used. May not be <code>null</code>.
  @param sPath
  The path to be resolved. May neither be <code>null</code> nor empty.
  Internally it is ensured that the provided path does start with a
  slash.
  @return <code>null</code> if the path could not be resolved using the
  specified class loader.