[Biojava-l] interface problem

Kemin Zhou kzhou@molsci.org
Mon, 23 Jul 2001 05:47:38 -0700


In the documentation
I have  the Driver class with the connect method


connect

public Database connect(java.net.URL url,
                        java.lang.String user,
                        java.lang.String passwd)
                 throws AceException

      Return a database that is connected to this url.

But in the actual class definition I have this:
public interface Driver {
  /**
   * Returns whether this driver can handle this url type.
   */
  boolean accept(AceURL url);

  /**
   * Return a database that is connected to this url.
   */
  Database connect(AceURL url) throws AceException;

It does not even have the method version!

How do I resolve this problem?

Kemin Zhou