static class TokenStreamRewriteEngine.ReplaceOp extends TokenStreamRewriteEngine.RewriteOperation
Modifier and Type | Field and Description |
---|---|
protected int |
lastIndex |
index, text
Constructor and Description |
---|
ReplaceOp(int from,
int to,
String text) |
Modifier and Type | Method and Description |
---|---|
int |
execute(StringBuffer buf)
Execute the rewrite operation by possibly adding to the buffer.
|
toString
public ReplaceOp(int from, int to, String text)
public int execute(StringBuffer buf)
TokenStreamRewriteEngine.RewriteOperation
execute
in class TokenStreamRewriteEngine.RewriteOperation