code: protected void writeHtml(final MBasicTable table, final OutputStream outputStream,
  			final boolean isSelection) throws IOException {
  		final Writer out = new OutputStreamWriter(outputStream, "UTF-8");
  
  		final String eol = isSelection ? "\n" : System.getProperty("line.separator");
  		// eol = "\n" si sélection, "\r\n" sinon pour un fichier windows et "\n" pour un fichier unix
  
  		out.write("<!-- Fichier genere par ");
  		out.write(System.getProperty("user.name"));
  		out.write(" le ");
  		out.write(DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG)
  				.format(new Date()));
  		out.write(" -->");
  		out.write(eol);
  
  		out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
  		out.write("<html>");
  		out.write(eol);
  		final String title = buildTitle(table);
  		writeHtmlHead(title, out, eol);
  		out.write("<body>");
  		out.write(eol);
  		if (title != null) {
  			out.write("<h3>");
  			out.write(title);
  			out.write("</h3>");
  		}
  		out.write(eol);
  
  		writeHtmlTable(table, isSelection, out, eol);
  		out.write("</body>");
  		out.write(eol);
  		out.write("</html>");
  		out.flush();
  	}
docs: Exporte une JTable dans un fichier au format html.
  
  @param table
  MBasicTable
  @param outputStream
  OutputStream
  @param isSelection
  boolean
  @throws IOException
  Erreur disque