docs: public ResourceFormatGenerator getGeneratorForFileExtension(final String extension) throws
          UnsupportedFormatException {
          for (final ResourceFormatGenerator generator : listGenerators()) {
              if (generator.getFileExtensions().contains(extension)) {
                  return generator;
              }
          }
          throw new UnsupportedFormatException("No provider available to parse file extension: " + extension);
      }