接口的使用
cn.taketoday.util.PlaceholderResolver
使用PlaceholderResolver的程序包
程序包
说明
environment abstraction consisting of bean definition
profile and hierarchical property source support.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
-
cn.taketoday.core.env中PlaceholderResolver的使用
修饰符和类型类说明classAbstract base class for resolving properties against any underlying source.classMap PropertyResolver implementationclassclassPropertyResolverimplementation that resolves property values against an underlying set ofPropertySources.class -
cn.taketoday.util中PlaceholderResolver的使用
修饰符和类型类说明(专用程序包) static classProvide the necessary context to handle and resolve underlying placeholders.private static final recordPlaceholderResolver implementation that resolves against system properties and system environment variables.参数类型为PlaceholderResolver的cn.taketoday.util中的方法修饰符和类型方法说明protected StringPropertyPlaceholderHandler.parseStringValue(String value, PlaceholderResolver placeholderResolver) PlaceholderParser.replacePlaceholders(String value, PlaceholderResolver placeholderResolver) Replace all placeholders of format${name}with the value returned from the suppliedPlaceholderResolver.PropertyPlaceholderHandler.replacePlaceholders(String value, PlaceholderResolver placeholderResolver) Replaces all placeholders of format${name}with the value returned from the suppliedPlaceholderResolver.参数类型为PlaceholderResolver的cn.taketoday.util中的构造器限定符构造器说明(专用程序包)PartResolutionContext(PlaceholderResolver resolver, String prefix, String suffix, boolean ignoreUnresolvablePlaceholders, Function<String, List<PlaceholderParser.Part>> parser)