mk.fsgrep.match
Class Replace
java.lang.Object
mk.fsgrep.match.Replace
- All Implemented Interfaces:
- java.lang.Runnable
public class Replace
- extends java.lang.Object
- implements java.lang.Runnable
Search for a regular expression in a file.
- Author:
- Murali Krishnan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RE_BLANK_LINE
public static final java.util.regex.Pattern RE_BLANK_LINE
Replace
public Replace(ReplaceControl pControl,
TargetFile pFile)
getFile
protected TargetFile getFile()
getControl
protected ReplaceControl getControl()
getNewLines
protected java.util.List<FileLine> getNewLines()
getWasChanged
protected boolean getWasChanged()
setNewLines
protected void setNewLines(java.util.List<FileLine> val)
setWasChanged
protected void setWasChanged(boolean val)
search
protected void search()
process
protected void process(FileLine tfline)
replace
protected void replace()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 2009. All Rights Reserved.