Syntax
Description
Use setDocStream to provide the binary contents of this document as an object instead of the byte array expected by setDocBytes. The object must implement seek, read, and getLength methods defined by the DataSourceStream interface.
A single getNextDoc() call can return data through setDocBytes or setDocStream but not both.