Package org.apache.nutch.plugin
Class PluginManifestParser
- java.lang.Object
-
- org.apache.nutch.plugin.PluginManifestParser
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description PluginManifestParser(Configuration conf, PluginRepository pluginRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getPluginFolder(String name)
Return the named plugin folder.Map<String,PluginDescriptor>
parsePluginFolder(String[] pluginFolders)
Returns a list of all found plugin descriptors.
-
-
-
Constructor Detail
-
PluginManifestParser
public PluginManifestParser(Configuration conf, PluginRepository pluginRepository)
-
-
Method Detail
-
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 foundPluginDescriptor
s.
-
-