|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jonas.tools.configurator.impl.FileReplacerHelper
public class FileReplacerHelper
Helps doing replacements in files
| Constructor Summary | |
|---|---|
FileReplacerHelper()
|
|
| Method Summary | |
|---|---|
protected void |
addReplacement(java.lang.String file,
java.lang.String from,
java.lang.String to)
Adds a replacement task. |
protected void |
doReplacements(java.io.File parent)
Does all the replacement tasks as added in addReplacement(String, String, String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileReplacerHelper()
| Method Detail |
|---|
protected void addReplacement(java.lang.String file,
java.lang.String from,
java.lang.String to)
file - File in which to replace.from - Original string.to - String to replace with.protected void doReplacements(java.io.File parent)
addReplacement(String, String, String).
parent - Parent folder in which to look for all files.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||