1 package com.explosion.datastream.exql.impexp; 2 3 import java.io.Writer; 4 import java.util.Vector; 5 /*** 6 * Generic interface to allow exporting results in various formats 7 * @author Stephen Cowx 8 * Created on 28-Jun-2005 9 */ 10 public interface TableExportFormatter { 11 public void write(Writer writer, Vector columnNames, Vector data) throws Exception; 12 public void writeHeader(Writer writer, Vector columnNames) throws Exception; 13 public void writeFooter(Writer writer, Vector columnNames) throws Exception; 14 } 15 16