Interface TextReplacementConfig
public sealed interface TextReplacementConfig
A configuration for how text can be replaced in a component.
The exact structure for a replacement specification is an implementation detail and therefore not exposed.
Custom implementations of TextReplacementConfig are not supported.
- Since:
- 4.2.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for replacement configurations.static interfaceA function determining whether a certain match should be replaced. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new builder.Get the pattern that will be searched for.
-
Method Details
-
builder
Create a new builder.- Returns:
- a new builder
- Since:
- 4.2.0
-
matchPattern
Pattern matchPattern()Get the pattern that will be searched for.- Returns:
- the match pattern
- Since:
- 4.2.0
-