org.openprivacy.reptile
Class RSSChannelSerializer

java.lang.Object
  |
  +--org.openprivacy.reptile.RSSChannelSerializer

public class RSSChannelSerializer
extends java.lang.Object

Author:
Kevin A. Burton

Constructor Summary
RSSChannelSerializer(java.lang.String resource)
          Create a new RSSChannelSerializer instance.
 
Method Summary
 java.lang.String[] getLinks(java.lang.String html)
          Get all links for this content.
 java.lang.String getRSS()
          Get the resource as an RSS stream with mod_content
static void main(java.lang.String[] args)
          Handle operations from the command line.
 void parse()
          Parse this channel.
static void syntax()
          Display syntax.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSChannelSerializer

public RSSChannelSerializer(java.lang.String resource)
Create a new RSSChannelSerializer instance.

Method Detail

parse

public void parse()
           throws java.lang.Exception
Parse this channel. This should be called before any other methods that return any data.

java.lang.Exception

getLinks

public java.lang.String[] getLinks(java.lang.String html)
                            throws java.lang.Exception
Get all links for this content. Links are denoted as all links

java.lang.Exception

getRSS

public java.lang.String getRSS()
                        throws java.lang.Exception
Get the resource as an RSS stream with mod_content

java.lang.Exception

syntax

public static void syntax()
Display syntax.


main

public static void main(java.lang.String[] args)
Handle operations from the command line.