public class TemplatedNamingStrategy extends Object implements NamingStrategy
templateString
and the dataModel
Constructor and Description |
---|
TemplatedNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
generateFileName(String templateString,
Object dataModel)
Generates a file name by delegating to
FreeMarkerTemplate |
public String generateFileName(String templateString, Object dataModel) throws NamingStrategyException
FreeMarkerTemplate
generateFileName
in interface NamingStrategy
templateString
- - FreeMarker templatedataModel
- - FreeMarker data modelNamingStrategyException
freemarker.template.TemplateException
Copyright © 2020. All rights reserved.