首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 让你轻松生成RSS XML文件,通过简单的java API

让你轻松生成RSS XML文件,通过简单的java API

资 源 简 介

this is a simple project which makes you can easily generate rss xml file through quite simple java api How to use this tool create an Rss object call SimpleRssGenerator.generate(Rss rss, OutputStream out); Code example, you can also refer to SimpleRssGeneratorTest in the source code ``` @Test public void testGenerate() { // Basicly this is a demo to show how to use this simple API to create an rss xml file Rss rss = createRss(); try { //SimpleRssGenerator.generate(rss, new FileOutputStream("rss.xml")); SimpleRssGenerator.generate(rss, System.out); } catch (IllegalArgumentException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } private Rss createRss() { Rss rss = n

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP