equal
deleted
inserted
replaced
352 * If the partialReturn property is true, only the amount of text that |
352 * If the partialReturn property is true, only the amount of text that |
353 * can be returned without creating a copy is returned. Using partial |
353 * can be returned without creating a copy is returned. Using partial |
354 * returns will give better performance for situations where large |
354 * returns will give better performance for situations where large |
355 * parts of the document are being scanned. The following is an example |
355 * parts of the document are being scanned. The following is an example |
356 * of using the partial return to access the entire document: |
356 * of using the partial return to access the entire document: |
357 * <p> |
357 * |
358 * <pre><code> |
358 * <pre><code> |
359 * |
359 * |
360 * int nleft = doc.getDocumentLength(); |
360 * int nleft = doc.getDocumentLength(); |
361 * Segment text = new Segment(); |
361 * Segment text = new Segment(); |
362 * int offs = 0; |
362 * int offs = 0; |