code: public static InputStream getResourceAsStream(String name)
    {
      Params.notNullOrEmpty(name, "Resource name");
      // not documented behavior: accept but ignore trailing path separator
      if(name.charAt(0) == '/') {
        name = name.substring(1);
      }
  
      InputStream stream = getResourceAsStream(name, new ClassLoader[]
      {
          Thread.currentThread().getContextClassLoader(), Classes.class.getClassLoader(), ClassLoader.getSystemClassLoader()
      });
      if(stream == null) {
        throw new NoSuchBeingException("Resource |%s| not found.", name);
      }
      return stream;
    }
docs: Retrieve resource, identified by qualified name, as input stream. This method does its best to load requested
  resource but throws exception if fail. Resource is loaded using {@link ClassLoader#getResourceAsStream(String)} and
  <code>name</code> argument should follow Java class loader convention: it is always considered as absolute path,
  that is, should contain package but does not start with leading path separator, e.g. <code>js/fop/config.xml</code>
  .
  <p>
  Resource is searched into next class loaders, in given order:
  <ul>
  <li>current thread context class loader,
  <li>this utility class loader,
  <li>system class loader, as returned by {@link ClassLoader#getSystemClassLoader()}
  </ul>
  
  @param name resource qualified name, using path separators instead of dots.
  @return resource input stream.
  @throws IllegalArgumentException if <code>name</code> argument is null or empty.
  @throws NoSuchBeingException if resource not found.