The format of the result object
If the preprocessor runs as a Java™ class, a result object is produced. The format of the result object must meet specific requirements.
The result object that is to be returned by the preprocessor
must look as follows:
public class ResultSection {
private GlobalEntries globalEntries;
private Map indexValues;
}The
GlobalEntries class
must contain the following parameters:public class GlobalEntries {
private List filenames;
private String documentClass;
private String documentType;
private String[] links;
}Content Collector for SAP evaluates
the following parameters. Any additional parameters are ignored.
| Parameter | Description | Mandatory or optional |
|---|---|---|
| filenames | The name of the output file that contains
the document and that is created by the preprocessor. You can specify one file name only. |
Mandatory |
| documentType | The MIME type of the document after it is changed by the preprocessor. | Mandatory if different from the input file |