fromResourceName

fun fromResourceName(name: String, referenceClass: Class<*> = TemplateProcessor::class.java): TemplateProcessor

Return

a new TemplateProcessor with its template loaded from the resource content

Parameters

name

name of the internal resource

referenceClass

reference classpath to use to retrieve the internal resource

Throws

if the resource cannot be found