IDocumentLoader

public interface IDocumentLoader

Defines the document loader interface that is used to load lazy documents.

Methods

Method Description
loadDocument() Loads a document.
closeDocument() Closes the loaded document.

loadDocument()

public abstract Document loadDocument()

Loads a document. This method is called by the index when it is ready for processing the document.

Returns: Document - The loaded document.

closeDocument()

public abstract void closeDocument()

Closes the loaded document. This method is called by the index when it has finished processing the document.