for (String className : classes) {
try {
Class<?> cls = Class.forName(className);
if (OutputFormatBuilder.class.isAssignableFrom(cls)) {
OutputFormatBuilder builder = (OutputFormatBuilder) cls.newInstance();
FormatFactory.get().registerFormat(builder.getName(), builder);
LOG.info("Registered output format plugin " + className);
} else {
LOG.warn("Ignoring output format plugin class " + className
+ " - Does not subclass OutputFormatBuilder");