public interface TextBatchProcessor
Modifier and Type | Method and Description |
---|---|
int |
processTextBatch(BaseDocument doc,
int startPos,
int endPos,
boolean lastBatch)
Process one batch of the text.
|
int processTextBatch(BaseDocument doc, int startPos, int endPos, boolean lastBatch)
doc
- document to work withstartPos
- starting position of the batchendPos
- ending position of the batchlastBatch
- whether this batch is the last one in the text area that
is searched.