public interface Documents extends DocumentWorkerObject, Iterable<Document>
| Modifier and Type | Method and Description |
|---|---|
void |
closeBatch()
Draws this batch of documents to a close.
|
int |
currentSize()
Returns the number of documents that are currently in this batch.
|
boolean |
isBatchClosed()
Returns whether or not this batch is closed.
|
Stream<Document> |
stream()
Returns a sequential
Stream with this document batch as its source. |
getApplicationforEach, iterator, spliteratorvoid closeBatch()
Calling this method will result in no new documents being added to the batch.
int currentSize()
This number will usually increase as the batch is iterated, until the batch is closed.
boolean isBatchClosed()
Additional documents may continue to be added to an open batch. After a batch has been closed, either automatically by the
framework or manually by calling closeBatch(), no additional documents will be added to it.
Copyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.