code: private static String processEntry(Column column, Object entry, Locale locale,
                                         Map<Integer, Format> columnFormatters) throws IOException {
          if (!String.valueOf(entry).contains(DOUBLE_INFINITY_STRING)) {
              String valueToPrint;
              if (entry.getClass() == Date.class) {
                  valueToPrint = convertDateElementToString((Date) entry,
                          (SimpleDateFormat) columnFormatters.computeIfAbsent(column.getId(),
                                  e -> getDateFormatProcessor(column.getFormat(), locale)));
              } else {
                  if (TIME_FORMAT_STRINGS.contains(column.getFormat().getName())) {
                      valueToPrint = convertTimeElementToString((Long) entry);
                  } else if (PERCENT_FORMAT.equals(column.getFormat().getName())) {
                      valueToPrint = convertPercentElementToString(entry,
                              (DecimalFormat) columnFormatters.computeIfAbsent(column.getId(),
                                      e -> getPercentFormatProcessor(column.getFormat(), locale)));
                  } else {
                      valueToPrint = String.valueOf(entry);
                      if (entry.getClass() == Double.class) {
                          valueToPrint = convertDoubleElementToString((Double) entry);
                      }
                  }
              }
  
              return valueToPrint;
          }
          return "";
      }
docs: Checks current entry type and returns its string representation.
  
  @param column           current processing column.
  @param entry            current processing entry.
  @param locale           the locale for parsing date and percent elements.
  @param columnFormatters the map that stores (@link Column#id) column identifier and the formatter
  for converting locale-sensitive values stored in this column into string.
  @return a string representation of current processing entry.
  @throws IOException appears if the output into writer is impossible.