接口的使用
cn.taketoday.util.PlaceholderParser.Part
使用PlaceholderParser.Part的程序包
程序包
说明
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
-
cn.taketoday.util中PlaceholderParser.Part的使用
修饰符和类型类说明(专用程序包) static final recordAPlaceholderParser.Partimplementation that represents a single placeholder containing nested placeholders.(专用程序包) static final recordAPlaceholderParser.Partimplementation that represents a single placeholder with a hard-coded fallback.(专用程序包) static final recordAPlaceholderParser.Partimplementation that does not contain a valid placeholder.类型参数类型为PlaceholderParser.Part的cn.taketoday.util中的字段修饰符和类型字段说明private final List<PlaceholderParser.Part>PlaceholderParser.NestedPlaceholderPart.defaultPartsdefaultParts记录组件的字段。private final List<PlaceholderParser.Part>PlaceholderParser.NestedPlaceholderPart.keyPartskeyParts记录组件的字段。private final Function<String,List<PlaceholderParser.Part>> PlaceholderParser.PartResolutionContext.parserprivate final List<PlaceholderParser.Part>PlaceholderParser.ParsedValue.partsparts记录组件的字段。返回变量类型为PlaceholderParser.Part的类型的cn.taketoday.util中的方法修饰符和类型方法说明PlaceholderParser.NestedPlaceholderPart.defaultParts()返回defaultParts记录组件的值。PlaceholderParser.NestedPlaceholderPart.keyParts()返回keyParts记录组件的值。private List<PlaceholderParser.Part>PlaceholderParser.ParsedValue.parts()返回parts记录组件的值。类型变量类型为PlaceholderParser.Part的cn.taketoday.util中的方法参数修饰符和类型方法说明private static voidPlaceholderParser.addText(String value, int start, int end, LinkedList<PlaceholderParser.Part> parts) PlaceholderParser.createNestedPlaceholderPart(String text, List<PlaceholderParser.Part> parts) private booleanPlaceholderParser.SimplePlaceholderPart.isTextOnly(List<PlaceholderParser.Part> parts) static StringPlaceholderParser.Part.resolveAll(Iterable<PlaceholderParser.Part> parts, PlaceholderParser.PartResolutionContext resolutionContext) Return a String that appends the resolution of the specified parts.private StringPlaceholderParser.SimplePlaceholderPart.toText(List<PlaceholderParser.Part> parts) 类型变量类型为PlaceholderParser.Part的cn.taketoday.util中的构造器参数限定符构造器说明(专用程序包)NestedPlaceholderPart(String text, List<PlaceholderParser.Part> keyParts, List<PlaceholderParser.Part> defaultParts) 创建NestedPlaceholderPart记录的实例。(专用程序包)ParsedValue(String text, List<PlaceholderParser.Part> parts) 创建ParsedValue记录的实例。(专用程序包)PartResolutionContext(PlaceholderResolver resolver, String prefix, String suffix, boolean ignoreUnresolvablePlaceholders, Function<String, List<PlaceholderParser.Part>> parser)