public boolean acceptsURL(String url) throws SQLException {
  if (url == null) {
    throw new SQLException("url is null");
  }
  for (  String protocol : GDSFactory.getSupportedProtocols()) {
    if (url.startsWith(protocol))     return true;
  }
  return false;
}

public boolean acceptsURL ( String url ) throws SQLException { if ( url == null ) { throw new SQLException ( "url is null" ) ; } for ( String protocol : GDSFactory . getSupportedProtocols ( ) ) { if ( url . startsWith ( protocol ) ) return true ; } return false ; }
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 .
