code: public static InputStream read( String path, ClassLoader classLoader, boolean useTLCL ) {
          if (useTLCL) {
              InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream(path);
              if (stream != null) {
                  return stream;
              }
          }
          return classLoader != null ? classLoader.getResourceAsStream(path) : ResourceLookup.class.getResourceAsStream(path);
      }
docs: Returns the stream of a resource at a given path, using some optional class loaders.
  
  @param path the path to search
  @param classLoader a {@link java.lang.ClassLoader} instance to use when searching; may be null.
  @param useTLCL {@code true} if the thread local class loader should be used as well, in addition to {@code classLoader}
  @return a {@link java.io.InputStream} if the resource was found, or {@code null} otherwise