public class ParsePluginsReader
extends java.lang.Object
$NUTCH_HOME/conf/parse-plugins.xml
file.Constructor and Description |
---|
ParsePluginsReader()
Constructs a new ParsePluginsReader
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFParsePluginsFile() |
static void |
main(java.lang.String[] args)
Tests parsing of the parse-plugins.xml file.
|
ParsePluginList |
parse(Configuration conf)
Reads the
parse-plugins.xml file and returns the
ParsePluginList defined by it. |
void |
setFParsePluginsFile(java.lang.String parsePluginsFile) |
public ParsePluginsReader()
public ParsePluginList parse(Configuration conf)
parse-plugins.xml
file and returns the
ParsePluginList
defined by it.ParsePluginList
specified by the
parse-plugins.xml
file.public static void main(java.lang.String[] args) throws java.lang.Exception
--file
option, although the file
must be located in the $NUTCH_HOME/conf
directory.args
- Currently only the --file argument to specify an alternative name
for the parse-plugins.xml file is supported.java.lang.Exception
public java.lang.String getFParsePluginsFile()
public void setFParsePluginsFile(java.lang.String parsePluginsFile)
parsePluginsFile
- The fParsePluginsFile to set.Copyright © 2019 The Apache Software Foundation