| Constructor and Description |
|---|
JdbcUrlParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDriverName()
Gets the driver name.
|
String |
getHost()
Gets the host.
|
List<String> |
getHosts()
Gets the hosts.
|
Integer |
getPort()
Gets the port.
|
List<Integer> |
getPorts()
Gets the ports.
|
String |
getTheRest()
Gets the the rest of the URL.
|
String |
getUrl()
Gets the url.
|
String |
getUser()
Gets the user.
|
void |
setDriverName(String driverName)
Sets the driver name.
|
void |
setHost(String host)
Sets the host.
|
void |
setHosts(List<String> hosts)
Sets the hosts.
|
void |
setPort(Integer port)
Sets the port.
|
void |
setPorts(List<Integer> ports)
Sets the ports.
|
void |
setTheRest(String theRest)
Sets the the rest of the URL.
|
void |
setUrl(String jdbcUrl)
Sets the url and default port.
|
void |
setUser(String user)
Sets the user.
|
void |
validate()
Validate.
|
public void setUrl(String jdbcUrl)
throws Exception
UrlParserpublic void validate()
throws Exception
UrlParserpublic String getDriverName()
public void setDriverName(String driverName)
driverName - the new driver namepublic String getHost()
UrlParserpublic void setHost(String host)
UrlParserpublic Integer getPort()
UrlParserpublic void setPort(Integer port)
UrlParserpublic String getTheRest()
public void setTheRest(String theRest)
theRest - Stringpublic String getUrl()
public String getUser()
public void setUser(String user)
user - the new userpublic void setHosts(List<String> hosts)
UrlParserpublic void setPorts(List<Integer> ports)
UrlParserpublic List<String> getHosts()
UrlParserCopyright © 2010-2020 Toolsverse. All Rights Reserved.