docs: private FileCompressionType mimeTypeToCompressionType(String mimeTypeStr)
    throws MimeTypeParseException
    {
      MimeType mimeType = null;
  
      if (mimeTypeStr != null)
      {
        mimeType = new MimeType(mimeTypeStr);
      }
  
      if (mimeType != null && mimeType.getSubType() != null)
      {
        return FileCompressionType.lookupByMimeSubType(
            mimeType.getSubType().toLowerCase());
      }
  
      return null;
    }