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

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

Introduction

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

Prototype

public String getDescription() 

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);//  w w w . j a  va 2  s.c  om

    return channel;
}