当前位置: 软件>java软件
Java的RSS类库 Yarfraw
本文导语: YARFRAW - Yet Another RSS Feed Reader And Writer API Yarfraw 是一个开源的用来操作 RSS 数据的 Java 类库。示例代码: FeedWriter writer = new FeedWriter("atom10.xml"));writer.setFormat(FeedFormat.ATOM10);writer.writeChannel(c); File f = new File("rss10.xml");FeedWriter writer...
YARFRAW - Yet Another RSS Feed Reader And Writer API
Yarfraw 是一个开源的用来操作 RSS 数据的 Java 类库。示例代码:
FeedWriter writer = new FeedWriter("atom10.xml"));
writer.setFormat(FeedFormat.ATOM10);
writer.writeChannel(c);
File f = new File("rss10.xml");
FeedWriter writer2 = new FeedWriter(f, FeedFormat.RSS10);
writer2.writeChannel(c);