You are here: com.dtsearch.engine Package > Interfaces > DataSourceStream Interface
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
Copyright (c) 1998-2022 dtSearch Corp. All rights reserved.