public class ReplaceDocumentOperation extends DocumentOperation
Constructor | Description |
---|---|
ReplaceDocumentOperation(int beginLine,
int endLine,
int beginColumn,
int endColumn,
java.lang.String textToReplace) |
Modifier and Type | Method | Description |
---|---|---|
void |
apply(Document document) |
Apply this operation to the specified document
|
getRegionByLine
public ReplaceDocumentOperation(int beginLine, int endLine, int beginColumn, int endColumn, java.lang.String textToReplace)
public void apply(Document document)
DocumentOperation
apply
in class DocumentOperation
document
- the document to which apply the operationCopyright © 2002–2018 PMD. All rights reserved.