@Test public void testAccepts() throws Exception { assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb")); assertTrue(drv.acceptsURL("jdbc:teiid:vdb@/foo/blah/deploy.properties")); assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb")); assertTrue(drv.acceptsURL("jdbc:teiid:vdb@/foo/blah/deploy.properties")); assertTrue(drv.acceptsURL("jdbc:teiid:8294601c-9fe9-4244-9499-4a012c5e1476_vdb")); assertTrue(drv.acceptsURL("jdbc:teiid:8294601c-9fe9-4244-9499-4a012c5e1476_vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:test_vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:test_vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:test_vdb.1@mm: assertTrue(drv.acceptsURL("jdbc:teiid:test_vdb.10@mm: }
public boolean acceptsURL(String url) throws SQLException { return JDBCURL.acceptsUrl(url) != null; }
TeiidDriver implements Driver { public boolean acceptsURL(String url) throws SQLException { return JDBCURL.acceptsUrl(url) != null; } }
TeiidDriver implements Driver { public boolean acceptsURL(String url) throws SQLException { return JDBCURL.acceptsUrl(url) != null; }  }
TeiidDriver implements Driver { public boolean acceptsURL(String url) throws SQLException { return JDBCURL.acceptsUrl(url) != null; }  static TeiidDriver getInstance(); ConnectionImpl connect(String url, Properties info); void setLocalProfile(ConnectionProfile embeddedProfile); void setSocketProfile(ConnectionProfile socketProfile); boolean acceptsURL(String url); int getMajorVersion(); int getMinorVersion(); String getDriverName(); DriverPropertyInfo[] getPropertyInfo(String url, Properties info); boolean jdbcCompliant(); Logger getParentLogger(); }
TeiidDriver implements Driver { public boolean acceptsURL(String url) throws SQLException { return JDBCURL.acceptsUrl(url) != null; }  static TeiidDriver getInstance(); ConnectionImpl connect(String url, Properties info); void setLocalProfile(ConnectionProfile embeddedProfile); void setSocketProfile(ConnectionProfile socketProfile); boolean acceptsURL(String url); int getMajorVersion(); int getMinorVersion(); String getDriverName(); DriverPropertyInfo[] getPropertyInfo(String url, Properties info); boolean jdbcCompliant(); Logger getParentLogger();  }