5960616263646566676869
if (genericCls.isAnnotationPresent(Indexer.class)) { actualCls = (Class<? extends Indexer>) genericCls; } else throw new IllegalArgumentException(); return new PluginDef(extension, actualCls); } catch (ClassNotFoundException ex) { return null; }
979899100101102103104
@Override protected Hashtable<String, PluginDef> getDefaults() { Hashtable<String, PluginDef> table = new Hashtable<String, PluginDef>(); Class<? extends Indexer> cls = PdfIndexer.class; table.put("pdf", new PluginDef("pdf", cls)); return table; }