com.endeca.cas.extension
Interface BinaryContentProvider

All Known Subinterfaces:
BinaryContentFileProvider, BinaryContentInputStreamProvider

public interface BinaryContentProvider

Base interface for DataSourceRuntimes that can access binary content in source systems. This interface should not be directly implemented by DataSourceRuntimes. DataSourceRuntimes should instead implement either BinaryContentInputStreamProvider or BinaryContentFileProvider. Both require extension developers to implement a method that takes a Record and returns either a File or InputStream to the binary content associated with the record. CAS will perform text extraction on the binary content and place the extracted text in the Endeca.Document.Text property of the record. During incremental acquisitions, binary content processed only for new or updated records. Binary content is not processed if text extraction is not enabled for the acquisition.

See Also:
BinaryContentFileProvider, BinaryContentInputStreamProvider



Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.