public class BlobCollector extends BlobList implements OutputCollector<Blob,BlobList>
Blob objects and return them as a
BlobList object.
You may use this to automatically iterate over iterable inputs in operation
methods that return a Blob object.
| Constructor and Description |
|---|
BlobCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(OperationContext ctx,
Blob obj)
Collects a new partial result (the result of the last iteration step).
|
BlobList |
getOutput()
Gets the final output.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodepublic void collect(OperationContext ctx, Blob obj) throws OperationException
OutputCollectorcollect in interface OutputCollector<Blob,BlobList>OperationExceptionpublic BlobList getOutput()
OutputCollectorgetOutput in interface OutputCollector<Blob,BlobList>Copyright © 2013 Nuxeo SA. All Rights Reserved.