public class ParsePluginsReader extends Object
$NUTCH_HOME/conf/parse-plugins.xml file.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ParsePluginsReader()
Constructs a new ParsePluginsReader
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFParsePluginsFile() |
static void |
main(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(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.Exception - If any parsing error occurs.public static void main(String[] args) throws 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.Exceptionpublic String getFParsePluginsFile()
public void setFParsePluginsFile(String parsePluginsFile)
parsePluginsFile - The fParsePluginsFile to set.Copyright © 2015 The Apache Software Foundation