import java.util.Vector;
import java.sql.SQLException;

public interface DatabaseConnect
{
 public void close();
 public void resetInfo(String drv,String url,String usr,String pass);
 public Vector countNames(Encap en);
 public boolean makeConnection(String name);
 public void InsertMulti(Vector v) throws SQLException;
 public void InsertData(Encap en) throws SQLException;
 public void UpdateMulti(Vector v) throws SQLException;
 public void UpdateData(Encap en) throws SQLException;
 public Vector QueryMulti(Encap en) throws SQLException;
 public Encap QuerySingle(Encap en) throws SQLException;
 public Vector QueryMulti(String table,String col,String cond) throws SQLException;
 public Encap QuerySingle(String table,String col,String cond) throws SQLException;
}
