org.eclipse.emf.codegen.jmerge
Class JMerger.FindAndReplace

java.lang.Object
  extended byorg.eclipse.emf.codegen.jmerge.JMerger.FindAndReplace
Enclosing class:
JMerger

public abstract static class JMerger.FindAndReplace
extends Object


Field Summary
protected  int current
           
protected  Pattern pattern
           
protected  String string
           
protected  StringBuffer stringBuffer
           
 
Constructor Summary
JMerger.FindAndReplace(Pattern pattern)
           
 
Method Summary
 String apply(String string)
           
abstract  boolean handleMatch(int offset, Matcher matcher)
           
 void replace(int begin, int end, String replacement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

protected Pattern pattern

string

protected String string

stringBuffer

protected StringBuffer stringBuffer

current

protected int current
Constructor Detail

JMerger.FindAndReplace

public JMerger.FindAndReplace(Pattern pattern)
Method Detail

apply

public String apply(String string)

replace

public void replace(int begin,
                    int end,
                    String replacement)

handleMatch

public abstract boolean handleMatch(int offset,
                                    Matcher matcher)

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.