public final class ReplaceTokens extends Object
Constructor and Description |
---|
ReplaceTokens(String sourceFile,
String destFile,
Map tokens)
Constructs a ReplaceTokens object.
|
Modifier and Type | Method and Description |
---|---|
void |
tagSwapAndCopyFile()
Method to perform the token-tag swap and create a destination file with
the transformation.
|
public ReplaceTokens(String sourceFile, String destFile, Map tokens) throws Exception
sourceFile
- the source file whose tokens-tags need to be swapped.destFile
- the destination file which would be the transformed
sourceFile with token-tags swapped. transformedtokens
- a Map containing the token name and the replacement valueException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.