de.tobiasbudde.regedit.reg
Class RegExpReplacer

java.lang.Object
  extended by de.tobiasbudde.regedit.reg.RegExpReplacer
All Implemented Interfaces:
RegularListener

public class RegExpReplacer
extends java.lang.Object
implements RegularListener

Author:
tbudde

Constructor Summary
RegExpReplacer(javax.swing.text.JTextComponent source, javax.swing.text.JTextComponent target, javax.swing.JTextField replacePattern, javax.swing.JCheckBox searchOnly, javax.swing.ButtonGroup cutMatchesCheckBox)
           
 
Method Summary
 ReplaceConfiguration getReplaceConfiguration()
           
 void operateMatch(Match match)
          called for every match (matching string)
 void replace(RegExpSearcher searcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExpReplacer

public RegExpReplacer(javax.swing.text.JTextComponent source,
                      javax.swing.text.JTextComponent target,
                      javax.swing.JTextField replacePattern,
                      javax.swing.JCheckBox searchOnly,
                      javax.swing.ButtonGroup cutMatchesCheckBox)
Parameters:
source -
target -
replacePattern -
searchOnly -
cutMatchesCheckBox -
Method Detail

getReplaceConfiguration

public ReplaceConfiguration getReplaceConfiguration()
Returns:

replace

public void replace(RegExpSearcher searcher)
Parameters:
searcher -

operateMatch

public void operateMatch(Match match)
                  throws java.lang.Exception
Description copied from interface: RegularListener
called for every match (matching string)

Specified by:
operateMatch in interface RegularListener
Throws:
java.lang.Exception


Copyright © 2008 tobiasbudde.de. All Rights Reserved.