Example usage for org.apache.commons.digester.rss Channel setDescription

List of usage examples for org.apache.commons.digester.rss Channel setDescription

Introduction

In this page you can find the example usage for org.apache.commons.digester.rss Channel setDescription.

Prototype

public void setDescription(String description) 

Source Link

Usage

From source file:org.openamf.examples.RSS.java

public Channel getChannel(String rssURL) throws IOException, SAXException {

    Channel channel = null;

    RSSDigester digester = new RSSDigester();

    channel = (Channel) digester.parse(rssURL);
    String url = "http://www.openamf.org/javadocs/index.html";
    String desc = channel.getDescription() + "<br/><br/>Click <A href='" + url
            + "' target='_blank'><U>here</U></A> to view Java Doc's";

    channel.setDescription(desc);

    return channel;
}