public class SqlServerUrlParser extends Object
| Constructor and Description |
|---|
SqlServerUrlParser() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getProtocolPrefix() |
String |
getUrl(String hostname,
String port,
String instance)
Returns the JDBC URL for this DB config.
|
DatabaseInstance |
parseUrl(String jdbcUrl) |
protected String |
removeProtocolPrefix(String jdbcUrl) |
public String getUrl(String hostname, String port, String instance)
JdbcUrlParserhostname - the hostnameport - the TCP/IP port numberinstance - the DB "instance"public DatabaseInstance parseUrl(String jdbcUrl) throws ParseException
ParseExceptionprotected String getProtocolPrefix() throws ParseException
ParseExceptionprotected String removeProtocolPrefix(String jdbcUrl) throws ParseException
ParseExceptionCopyright © 2002-2015 Atlassian. All Rights Reserved.