org.apache.nutch.plugin
Class PluginManifestParser
java.lang.Object
org.apache.nutch.plugin.PluginManifestParser
public class PluginManifestParser
- extends Object
The PluginManifestParser
parser just parse the manifest file
in all plugin directories.
- Author:
- joa23
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
PluginManifestParser
public PluginManifestParser(Configuration conf,
PluginRepository pluginRepository)
parsePluginFolder
public Map<String,PluginDescriptor> parsePluginFolder(String[] pluginFolders)
- Returns a list of all found plugin descriptors.
- Parameters:
pluginFolders
- folders to search plugins from
- Returns:
- A
Map
of all found PluginDescriptor
s.
getPluginFolder
public File getPluginFolder(String name)
- Return the named plugin folder. If the name is absolute then it is
returned. Otherwise, for relative names, the classpath is scanned.
Copyright © 2011 The Apache Software Foundation