I want to create files in different formats in the java based web app. The files are pure text files without any html tags. But the files need a certain kind of format, text in left, middle, right or somewhere (tabs, spaces) in the file.
Template with the place holder + java bean with data = text file.
What java template engine or api is fit for this?
Thank you!
You may check String Template (GitHub).
It looks like this: