docs: public static String getExtensionByMimeType(String type) {
          MimeTypes types = getDefaultMimeTypes();
          try {
              return types.forName(type).getExtension();
          } catch (Exception e) {
              LOGGER.warn("Can't detect extension for MIME-type " + type, e);
              return "";
          }
      }