.port_templates.1.3.13.source-code.TemplateEngineSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of port_templates Show documentation
Show all versions of port_templates Show documentation
The atoms of your platform
package com.hexagonkt.templates
import java.io.Reader
/**
* TemplateEngineSettings are used to configure a [TemplateEngine]
*
* @param loader loads templates
* @param loadContext if enabled, properties are loaded from the classpath
* @param basePath appended to resource name, i. e. "templates/resource"
*/
data class TemplateEngineSettings(
val loader: ((resource: String) -> Reader?)? = null,
val loadContext: Boolean = true,
val basePath: String? = null
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy