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)
JdbcUrlParser
hostname
- the hostnameport
- the TCP/IP port numberinstance
- the DB "instance"public DatabaseInstance parseUrl(String jdbcUrl) throws ParseException
ParseException
protected String getProtocolPrefix() throws ParseException
ParseException
protected String removeProtocolPrefix(String jdbcUrl) throws ParseException
ParseException
Copyright © 2002-2016 Atlassian. All Rights Reserved.