docs: private static InputStream createInputStream(GraphicFactory graphicFactory, String relativePathPrefix, String src) throws IOException {
          InputStream inputStream;
          if (src.startsWith(PREFIX_ASSETS)) {
              src = src.substring(PREFIX_ASSETS.length());
              inputStream = inputStreamFromAssets(graphicFactory, relativePathPrefix, src);
          } else if (src.startsWith(PREFIX_FILE)) {
              src = src.substring(PREFIX_FILE.length());
              inputStream = inputStreamFromFile(relativePathPrefix, src);
          } else if (src.startsWith(PREFIX_JAR) || src.startsWith(PREFIX_JAR_V1)) {
              if (src.startsWith(PREFIX_JAR)) {
                  src = src.substring(PREFIX_JAR.length());
              } else if (src.startsWith(PREFIX_JAR_V1)) {
                  src = src.substring(PREFIX_JAR_V1.length());
              }
              inputStream = inputStreamFromJar(relativePathPrefix, src);
          } else {
              inputStream = inputStreamFromFile(relativePathPrefix, src);
  
              if (inputStream == null) {
                  inputStream = inputStreamFromAssets(graphicFactory, relativePathPrefix, src);
              }
  
              if (inputStream == null) {
                  inputStream = inputStreamFromJar(relativePathPrefix, src);
              }
          }
  
          // Fallback to internal resources
          if (inputStream == null) {
              inputStream = inputStreamFromJar("/assets/", src);
              if (inputStream != null) {
                  LOGGER.info("internal resource: " + src);
              }
          }
  
          if (inputStream != null) {
              return inputStream;
          }
  
          LOGGER.severe("invalid resource: " + src);
          throw new FileNotFoundException("invalid resource: " + src);
      }