快过年了,这两天没多少事情,于是用jsoup和itext等第三方插件,做了个新闻抓取系统,并生成本地pdf文件,这样在车上或者其他没能上网的地方就可以轻松看新闻了。
生成的新浪新闻pdf文件地址:"http://download.csdn.net/detail/hellochenlian/6834813"
目前就是纯文字的,没有加入图片分析加载功能。
代码放在:http://download.csdn.net/detail/hellochenlian/6834849
具体效果如图: