Package com.alibaba.druid.pool.ha
Class PropertiesUtils
java.lang.Object
com.alibaba.druid.pool.ha.PropertiesUtils
Utilities for Properties.
- Author:
- DigitalSonic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
filterPrefix
(Properties properties, String prefix) loadNameList
(Properties properties, String propertyPrefix) Pick the name of a JDBC url.static Properties
loadProperties
(String file) Load properties from the given file into Properties.
-
Constructor Details
-
PropertiesUtils
public PropertiesUtils()
-
-
Method Details
-
loadProperties
Load properties from the given file into Properties. -
loadNameList
Pick the name of a JDBC url. Such as xxx.url, xxx is the name. -
filterPrefix
-