importReportTemplate

fun importReportTemplate(inputStream: <Error class: unknown class>, maxSize: Long): ReportTemplateEvent

Obtains a template file from the input stream. There is a size limiter to avoid DoS attacks and erroneous input. The received file is converted to a ReportTemplateEvent, which mainly contains the document + timestamps.