How to add user directives to Velocity?

I'm developing a plugin to generate code files with file templates. I want to add custom user directives into Velocity engine in order to generate code using 

String fileContent = FileTemplate.get(Map context)

Is it possible to add these user directives?

0

Please sign in to leave a comment.