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.
|
toStringpublic ReplaceOp(int from,
int to,
String text)
public int execute(StringBuffer buf)
TokenStreamRewriteEngine.RewriteOperationexecute in class TokenStreamRewriteEngine.RewriteOperation