类 PropertiesUtils

java.lang.Object
com.alibaba.druid.pool.ha.PropertiesUtils

public class PropertiesUtils extends Object
Utilities for Properties.
作者:
DigitalSonic
  • 构造器详细资料

    • PropertiesUtils

      public PropertiesUtils()
  • 方法详细资料

    • loadProperties

      public static Properties loadProperties(String file)
      Load properties from the given file into Properties.
    • loadNameList

      public static List<String> loadNameList(Properties properties, String propertyPrefix)
      Pick the name of a JDBC url. Such as xxx.url, xxx is the name.
    • filterPrefix

      public static Properties filterPrefix(Properties properties, String prefix)