![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
iteye_475
这个作者很懒,什么都没留下…
展开
-
IText利用freemarker生成pdf
公司需要动态生成PDF,搞了很久,终于搞好,现在拿出主要代码分享一下 唯一的不足是不支持中文换行,如果有人知道可以交流下 [code="java"] //step1 加载template模板文件 Configuration cfg = new Configuration(); cfg.setDirectoryForTemplateLoading(new File(templateBase...原创 2016-04-28 18:35:43 · 229 阅读 · 0 评论 -
彻底理解ThreadLocal
[url]http://blog.csdn.net/lufeng20/article/details/24314381[/url]原创 2016-07-28 17:29:34 · 141 阅读 · 0 评论 -
spring boot 注册类型转换
spring boot注册一个全局的类型转换器,转换表单中的string 到Date [code="java"]@Configuration public class WebConfig { // IMPORTANT: keep the order private final static String[] dateFormats = { ...原创 2016-08-22 13:44:56 · 421 阅读 · 0 评论