FileEngine

The FileEngine can be configured through the configuration file.

The configuration file is located at:

\Configuration\FileEngine.xml

Relative to the IceViewer application.

The default File Engine uses the following configuration file:

C:\inetpub\wwwroot\IceViewer\Configuration\FileEngine.xml

If the file does not exist, WebEngine creates a default one automatically.

Possible values in the configuration file:

<FileEngine>

<PATH>C:\iceviewer\</PATH>

<OCR_SUFFIX>.ocr</OCR_SUFFIX>

<HOCR_SUFFIX>.hocr</HOCR_SUFFIX>

<INDEX_SUFFIX>.index</INDEX_SUFFIX>

<ANNO_SUFFIX>.ann</ANNO_SUFFIX>

<DELETE_EMPTY_ANNOTATION_FILE>true</DELETE_EMPTY_ANNOTATION_FILE>

</FileEngine>

PATH value specifies the source of the documents for IceViewer.

OCR, HOCR, INDEX, ANNO suffix values specify the file extension of how the different additional files will be saved, or retrieved by the engine.

DELETE_EMPTY_ANNOTATION_FILE specifies if IceViewer must delete the annotation (.ann) files, if they contain no annotations.