* @param converterKey The key to lookup the converters.
* @param expected The expected base Class of each Converter.
*/
public PatternParser(Configuration config, String converterKey, Class expected) {
this.config = config;
PluginManager manager = new PluginManager(converterKey, expected);
manager.collectPlugins();
Map<String, PluginType> plugins = manager.getPlugins();
Map<String, Class<PatternConverter>> converters = new HashMap<String, Class<PatternConverter>>();
for (PluginType type : plugins.values()) {
try {
Class<PatternConverter> clazz = type.getPluginClass();