01: package com.quantum.flatfiles.converter;
02:
03: import java.io.IOException;
04:
05: import com.quantum.sql.SQLResultSetResults;
06:
07: /**
08: * Interface to classes that convert a result set to another format, saving it into a file
09: * @author BC Holmes
10: */
11: public interface Converter {
12: /**
13: * @param fileName
14: * @param results
15: * @throws IOException
16: */
17: public void convert(String fileName, SQLResultSetResults results)
18: throws IOException;
19:
20: public String getFileExtension();
21: }
|