Close
dtSearch Engine API for Java
DataSourceStream Interface

Interface for returning binary documents through the DataSource3 interface.

File: DataSourceStream.java 

Package: com.dtsearch.engine 

Syntax
Java
public interface DataSourceStream;

A data source can return binary documents as a byte array (using setDocBytes), a disk file, or as an object that implements the DataSourceStream interface. The DataSourceStream interface provides seek, read, and getLength methods that the dtSearch Engine can use to read a binary document during indexing.

com.dtsearch.engine.DataSourceStream