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
UrlParser
public void validate() throws Exception
UrlParser
public String getDriverName()
public void setDriverName(String driverName)
driverName
- the new driver namepublic String getHost()
UrlParser
public void setHost(String host)
UrlParser
public Integer getPort()
UrlParser
public void setPort(Integer port)
UrlParser
public 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)
UrlParser
public void setPorts(List<Integer> ports)
UrlParser
public List<String> getHosts()
UrlParser
Copyright © 2010-2020 Toolsverse. All Rights Reserved.