|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.prorefactor.refactor.action.RenameFilesRefactor
public class RenameFilesRefactor
Change file references (run and include) for an input from/to name mapping.
Input names map is a string of comma separated old/new name pairs, those separated by newlines.
Enhancements needed: Add support for quoted filenames with embedded spaces in the regular expression search and replace part of this.
| Constructor Summary | |
|---|---|
RenameFilesRefactor(java.lang.String namesMap)
See the class notes for details about the format of the input names map. |
|
| Method Summary | |
|---|---|
void |
close()
Release temp files and other resources. |
int |
examine(ParseUnit pu)
Examine one parse unit, keeping a list of file changes to make. |
java.io.File |
getLogFile()
Call close(), to flush the log file buffer, before looking at this file's contents. |
void |
writeChanges(java.lang.String outDir)
|
void |
zzDebugDbContents()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenameFilesRefactor(java.lang.String namesMap)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void close()
throws java.io.IOException
java.io.IOException
public int examine(ParseUnit pu)
throws RefactorException,
java.io.IOException
RefactorException
java.io.IOExceptionpublic java.io.File getLogFile()
public void writeChanges(java.lang.String outDir)
throws java.io.IOException
java.io.IOException
public void zzDebugDbContents()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||