Package liquibase.util
Class UrlUtil
- java.lang.Object
-
- liquibase.util.UrlUtil
-
public class UrlUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description UrlUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
handleSqlServerDbUrlParameters(List<String> keys, String url)
Move the specified keys up in the connection url for better readability and remove additional parameters.
-
-
-
Method Detail
-
handleSqlServerDbUrlParameters
public static String handleSqlServerDbUrlParameters(List<String> keys, String url)
Move the specified keys up in the connection url for better readability and remove additional parameters. As far as I can tell this is sql server specific right now.- Parameters:
keys
- the important keys to keep at the start of the connection urlurl
- the url to modify- Returns:
- a new connection url with the connection parameters matching the keys provided moved forward, sorted alphabetically and with all other parameters REMOVED.
-
-