code: public ResourceFormatParser getParserForFileExtension(final String extension) throws UnsupportedFormatException {
          for (final ResourceFormatParser resourceFormatParser : listParsers()) {
              if (resourceFormatParser.getFileExtensions().contains(extension)) {
                  return resourceFormatParser;
              }
          }
          throw new UnsupportedFormatException("No provider available to parse file extension: " + extension);
      }
docs: Return a parser for a file, based on the bare file extension.
  
  @param extension the file extension string
  
  @return the parser found for the extension
  
  @throws UnsupportedFormatException if the file extension does not match an available parser, or if the file has
  no extension