@Deprecated public class PropertiesUtil3 extends org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,String> |
propertyMap
已过时。
|
SYSTEM_PROPERTIES_MODE_FALLBACK, SYSTEM_PROPERTIES_MODE_NEVER, SYSTEM_PROPERTIES_MODE_OVERRIDEDEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, trimValues, valueSeparator| 构造器和说明 |
|---|
PropertiesUtil3()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Properties |
addProperties(org.springframework.core.io.Resource... resources)
已过时。
增加配置
|
static Map<String,String> |
getPropertiesByPrefix(String prefix)
已过时。
获得指定前缀的集合
|
static String |
getProperty(String name)
已过时。
|
static String |
getProperty(String name,
String path)
已过时。
|
static String |
getPropertyOrDefault(String name,
String defaultVal)
已过时。
|
static String |
getPropertyOrDefault(String name,
String path,
String defaultVal)
已过时。
|
static Properties |
loadProperties(String path)
已过时。
|
protected Properties |
mergeProperties()
已过时。
|
static Properties |
mergeProperties(Properties p1,
Properties p2)
已过时。
|
protected void |
processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactoryToProcess,
Properties props)
已过时。
|
parseStringValue, resolvePlaceholder, resolvePlaceholder, resolveSystemProperty, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeNamedoProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setTrimValues, setValueSeparatorconvertProperties, convertProperty, convertPropertyValue, getOrder, postProcessBeanFactory, setOrderprotected void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactoryToProcess,
Properties props)
throws org.springframework.beans.BeansException
processProperties 在类中 org.springframework.beans.factory.config.PropertyPlaceholderConfigurerorg.springframework.beans.BeansExceptionprotected Properties mergeProperties() throws IOException
mergeProperties 在类中 org.springframework.core.io.support.PropertiesLoaderSupportIOExceptionpublic static Properties mergeProperties(Properties p1, Properties p2) throws IOException
IOExceptionpublic static String getPropertyOrDefault(String name, String path, String defaultVal)
public static Properties loadProperties(String path)
public static Map<String,String> getPropertiesByPrefix(String prefix)
prefix - 前缀public Properties addProperties(org.springframework.core.io.Resource... resources)
resources - Copyright © 2018. All rights reserved.