【文件属性】:
文件名称:fill-template:在模板中插入值
文件大小:9KB
文件格式:ZIP
更新时间:2021-04-11 12:34:57
Java
填充模板
给定具有特定格式的模板,请使用正则表达式在模板中插入值。允许的值的类型为:
参数:单个值,在模板中仅出现一次。 &P {}
字段:值列表&L [] {{&F {}}}
示例模板是:
This is a sample text, here is the first parameter &P{parameter1}, here is the second &P{parameter2} here
is the first parameter again &P{parameter1}.
Then we have a list
&L[list]{{
- This text should be repeated.
- You can pass inner fields inside this list : (&F{field1}) : (&F{field2})
- An
【文件预览】:
fill-template-main
----.gitignore(113B)
----README.md(611B)
----pom.xml(536B)
----LICENSE(1KB)
----src()
--------test()
--------main()