| Package | Description |
|---|---|
| org.gatein.common.text |
| Modifier and Type | Class and Description |
|---|---|
static class |
TextTools.ConstantStringReplacementGenerator |
| Modifier and Type | Method and Description |
|---|---|
static String |
TextTools.replaceAllInstancesOfBoundedString(String initial,
String prefix,
String suffix,
TextTools.StringReplacementGenerator generator) |
static String |
TextTools.replaceBoundedString(String initial,
String prefix,
String suffix,
TextTools.StringReplacementGenerator generator,
boolean replaceIfBoundedStringEmpty,
boolean keepBoundaries) |
static String |
TextTools.replaceBoundedString(String initial,
String prefix,
String suffix,
TextTools.StringReplacementGenerator generator,
boolean replaceIfBoundedStringEmpty,
boolean keepBoundaries,
boolean suffixIsOptional)
Replace instances of Strings delimited by the given prefix and suffix (hence, bounded) by a replacement String
computed by the specified StringReplacementGenerator based on the current bounded String match.
|
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.