public class PropertiesUtils extends Object
Constructor and Description |
---|
PropertiesUtils() |
Modifier and Type | Method and Description |
---|---|
static Properties |
filterPrefix(Properties properties,
String prefix) |
static List<String> |
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.
|
public static Properties loadProperties(String file)
public static List<String> loadNameList(Properties properties, String propertyPrefix)
public static Properties filterPrefix(Properties properties, String prefix)
Copyright © 2013–2021 Alibaba Group. All rights reserved.