org.apache.nutch.parse.ext
Class ExtParser

java.lang.Object
  extended by org.apache.nutch.parse.ext.ExtParser
All Implemented Interfaces:
Configurable, Parser, FieldPluggable, Pluggable

public class ExtParser
extends Object
implements Parser

A wrapper that invokes external command to do real parsing job.

Author:
John Xing

Field Summary
static org.slf4j.Logger LOG
           
 
Fields inherited from interface org.apache.nutch.parse.Parser
X_POINT_ID
 
Constructor Summary
ExtParser()
           
 
Method Summary
 Configuration getConf()
           
 ParseResult getParse(Content content)
           
 void setConf(Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.nutch.parse.Parser
getParse
 
Methods inherited from interface org.apache.nutch.plugin.FieldPluggable
getFields
 

Field Detail

LOG

public static final org.slf4j.Logger LOG
Constructor Detail

ExtParser

public ExtParser()
Method Detail

getParse

public ParseResult getParse(Content content)

setConf

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

getConf

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


Copyright © 2012 The Apache Software Foundation