Driver.acceptsURL

Driver.acceptsURL

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract boolean acceptsURL( String url ) throws SQLException
Parameters
url
The URL of the database.
Returns
True if this driver can connect to the given URL.
Description
Returns true if the driver thinks that it can open a connection to the given URL. Typically drivers will return true if they understand the subprotocol specified in the URL and false if they don't.

Exceptions
SQLException if a database-access error occurs.