@Test public void testAcceptsURL1() throws Exception { assertTrue(drv.acceptsURL("jdbc:teiid:jvdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mms: assertTrue(!drv.acceptsURL("jdbc:teiid:@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:jvdb@mms: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mms: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mms: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mms: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:jvdb@c:/dqp.properties;version=1")); assertTrue(drv.acceptsURL("jdbc:teiid:jvdb@/foo/dqp.properties;version=1")); assertTrue(drv.acceptsURL("jdbc:teiid:jvdb@../foo/dqp.properties;version=1")); assertTrue(drv.acceptsURL("jdbc:teiid:jvdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@localhost:port;version=x")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234,localhost2:12342,localhost3:12343")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234,localhost2:12342,localhost3:12343;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234;logLevel=1;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234;logLevel=2;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234;logLevel=2;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log;autoCommitTxn=OFF;paritalResultsMode=true")); assertTrue(!drv.acceptsURL("jdbc:teiid:@localhost:1234;stickyConnections=false;socketsPerVM=4")); assertTrue(drv.acceptsURL("jdbc:teiid:vdb@mm: assertTrue(drv.acceptsURL("jdbc:teiid:vdb@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();  }