org.apache.nutch.parse.rss
Class RSSParser
java.lang.Object
org.apache.nutch.parse.rss.RSSParser
- All Implemented Interfaces:
- org.apache.hadoop.conf.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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
RSSParser
public RSSParser()
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(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf in interface org.apache.hadoop.conf.Configurable
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf in interface org.apache.hadoop.conf.Configurable
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2006 The Apache Software Foundation