use of com.github.jaiimageio.jpeg2000.impl.J2KImageReaderSpi in project ddf by codice.
the class TikaInputTransformer method classLoaderAndBundleContextSetup.
private void classLoaderAndBundleContextSetup(BundleContext bundleContext) {
if (bundleContext == null) {
LOGGER.info("Bundle context is null. Unable to register {} as an osgi service.", TikaInputTransformer.class.getSimpleName());
return;
}
registerService(bundleContext);
IIORegistry.getDefaultInstance().registerServiceProvider(new J2KImageReaderSpi());
IIORegistry.getDefaultInstance().registerServiceProvider(new TIFFImageReaderSpi());
}
Aggregations