code: public void flushTables(final XMLUtil util, final ZipUTF8Writer writer) throws IOException {
          this.ensureContentBegin(util, writer);
          final int lastTableIndex = this.tables.size() - 1;
          if (lastTableIndex < 0)
              return;
  
          int tableIndex = this.flushPosition.getTableIndex();
  
          Table table = this.tables.get(tableIndex);
          table.flushRemainingRowsFrom(util, writer, this.flushPosition.getLastRowIndex() + 1);
          tableIndex++;
          while (tableIndex <= lastTableIndex) {
              table = this.tables.get(tableIndex);
              table.appendXMLToContentEntry(util, writer);
              tableIndex++;
          }
      }
docs: Flush the tables.
  
  @param util   an XML util
  @param writer destination
  @throws IOException if the tables were not flushed