Structured Text Toolkit

com.saelist.command
Class ReplaceCommand

java.lang.Object
  extended bycom.saelist.command.AbstractCommand
      extended bycom.saelist.command.ReplaceCommand
All Implemented Interfaces:
Command

public class ReplaceCommand
extends AbstractCommand

Performs a series of regular expression substitutions on the input files. See the schema file for exact format of the configuration.


Field Summary
protected static Logger logger
           
 
Fields inherited from class com.saelist.command.AbstractCommand
config
 
Constructor Summary
ReplaceCommand()
           
 
Method Summary
 void execute()
           
 void replace(java.io.File file)
           
 
Methods inherited from class com.saelist.command.AbstractCommand
setArg, setArgs, undo, undoable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static Logger logger
Constructor Detail

ReplaceCommand

public ReplaceCommand()
Method Detail

execute

public void execute()

replace

public void replace(java.io.File file)
             throws java.io.IOException
Throws:
java.io.IOException

Structured Text Toolkit