org.apache.nutch.parse.rss
Class RSSParser

java.lang.Object
  extended by org.apache.nutch.parse.rss.RSSParser
All Implemented Interfaces:
Configurable, Parser, Pluggable

public class RSSParser
extends Object
implements Parser

Version:
1.0

RSS Parser class for nutch

Author:
mattmann

Field Summary
static org.apache.commons.logging.Log LOG
           
 
Fields inherited from interface org.apache.nutch.parse.Parser
X_POINT_ID
 
Constructor Summary
RSSParser()
           
 
Method Summary
 Configuration getConf()
           
 ParseResult getParse(Content content)
           Implementation method, parses the RSS content, and then returns a ParseImpl.
static void main(String[] args)
           
 void setConf(Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

RSSParser

public RSSParser()
Method Detail

getParse

public ParseResult getParse(Content content)

Implementation method, parses the RSS content, and then returns a ParseImpl.

Specified by:
getParse in interface Parser
Parameters:
content - The content to parse (hopefully an RSS content stream)
Returns:
A ParseImplwhich implements the Parseinterface.

setConf

public void setConf(Configuration conf)
Specified by:
setConf in interface Configurable

getConf

public Configuration getConf()
Specified by:
getConf in interface Configurable

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2006 The Apache Software Foundation