org.apache.nutch.parse.rss
Class RSSParser
java.lang.Object
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
|
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
ParseImpl
which implements the Parse
interface.
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