MCPcopy Create free account
hub / github.com/PCGen/pcgen / getPluginLoader

Method getPluginLoader

code/src/java/pcgen/io/ExportHandler.java:349–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 }
348
349 public static PluginLoader getPluginLoader()
350 {
351 return new PluginLoader()
352 {
353
354 @Override
355 public void loadPlugin(Class<?> clazz) throws Exception
356 {
357 Token pl = (Token) clazz.newInstance();
358 addToTokenMap(pl);
359 }
360
361 @Override
362 public Class[] getPluginClasses()
363 {
364 return new Class[]{Token.class};
365 }
366 };
367 }
368
369 private static class VariableComparator implements Comparator<Object>, Serializable
370 {

Callers 1

createLoadPluginTaskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected