Class FileStringReplacer
java.lang.Object
org.wildfly.qa.tooling.strings.FileStringReplacer
Utility for replacing strings in file in-place
-
Constructor Summary
ConstructorsConstructorDescriptionFileStringReplacer(Path fileToReplaceStringsIn, ReplacementPairs replacementPairs) -
Method Summary
-
Constructor Details
-
FileStringReplacer
-
-
Method Details
-
replaceAll
Replace all pairs in the path- Returns:
- path with replaced pairs
- Throws:
ReplacementException
-