package com.philmcrew.data; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.sql.PreparedStatement; import java.sql.SQLException; /** * Created by IntelliJ IDEA. * User: Mitchell * Date: Feb 27, 2005 * Time: 10:07:32 AM * To change this template use Options | File Templates. */ public interface DataFile { public URL getDataSource() throws MalformedURLException; public InputStream getInputStream() throws IOException; public String getTable(); public String getCreateQuery(); public String getDeleteQuery(); public String getInsertQuery(); public int deliminate(InputStream inputStream, PreparedStatement pst) throws SQLException; }