Class FreeMarkerLanguageDriverConfig.TemplateFileConfig
java.lang.Object
org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig
- Enclosing class:
FreeMarkerLanguageDriverConfig
Template file configuration.
- Since:
- 1.2.0
- Author:
- Kazuki Shimizu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe template file path provider configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the base directory for reading template resource file.Get the template file path provider configuration.voidsetBaseDir(String baseDir) Set the base directory for reading template resource file.
-
Constructor Details
-
TemplateFileConfig
public TemplateFileConfig()
-
-
Method Details
-
getBaseDir
Get the base directory for reading template resource file.Default is
""(none).- Returns:
- the base directory for reading template resource file
-
setBaseDir
Set the base directory for reading template resource file.- Parameters:
baseDir- the base directory for reading template resource file
-
getPathProvider
Get the template file path provider configuration.- Returns:
- the template file path provider configuration
-