docs: public static InputStream getResourceAsStream( String resourcePath,
                                                     ClassLoader classLoader,
                                                     Class<?> clazz ) {
          CheckArg.isNotEmpty(resourcePath, "resourcePath");
          InputStream result = null;
          if (classLoader != null) {
              // Try using the class loader first ...
              result = classLoader.getResourceAsStream(resourcePath);
          }
          if (result == null && clazz != null) {
              // Not yet found, so try the class ...
              result = clazz.getResourceAsStream(resourcePath);
              if (result == null) {
                  // Not yet found, so try the class's class loader ...
                  result = clazz.getClassLoader().getResourceAsStream(resourcePath);
              }
          }
          if (result == null) {
              // Still not found, so see if this is an existing File ...
              try {
                  File file = new File(resourcePath);
                  if (file.exists() && file.canRead()) {
                      return new BufferedInputStream(new FileInputStream(file));
                  }
              } catch (FileNotFoundException e) {
                  // just continue ...
              }
          }
          if (result == null) {
              // Still not found, so try to construct a URL out of it ...
              try {
                  URL url = new URL(resourcePath);
                  return url.openStream();
              } catch (MalformedURLException e) {
                  // just continue ...
              } catch (IOException err) {
                  // just continue ...
              }
          }
          // Couldn't find it anywhere ...
          return result;
      }