it.geosolutions.imageio.plugins.jp2k
Class JP2KKakaduImageReaderSpi
java.lang.Object
javax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageReaderWriterSpi
javax.imageio.spi.ImageReaderSpi
it.geosolutions.imageio.plugins.jp2k.JP2KKakaduImageReaderSpi
- All Implemented Interfaces:
- RegisterableService
public class JP2KKakaduImageReaderSpi
- extends ImageReaderSpi
Service provider interface for the JPEG2000SimpleBox
- Author:
- Simone Giannecchini, GeoSolutions., Daniele Romagnoli, GeoSolutions.
Methods inherited from class javax.imageio.spi.ImageReaderWriterSpi |
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registered
protected boolean registered
JP2KKakaduImageReaderSpi
public JP2KKakaduImageReaderSpi()
canDecodeInput
public boolean canDecodeInput(Object input)
throws IOException
- This method checks if the provided input can be decoded from this SPI
- Specified by:
canDecodeInput
in class ImageReaderSpi
- Throws:
IOException
createReaderInstance
public ImageReader createReaderInstance(Object source)
throws IOException
- Returns an instance of the
JP2KKakaduImageReader
- Specified by:
createReaderInstance
in class ImageReaderSpi
- Throws:
IOException
- See Also:
ImageReaderSpi.createReaderInstance(java.lang.Object)
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescription
in class IIOServiceProvider
- See Also:
IIOServiceProvider.getDescription(java.util.Locale)
onRegistration
public void onRegistration(ServiceRegistry registry,
Class category)
- Upon registration, this method ensures that this SPI is listed at the top
of the ImageReaderSpi items, so that it will be invoked before the
default ImageReaderSpi
- Specified by:
onRegistration
in interface RegisterableService
- Overrides:
onRegistration
in class IIOServiceProvider
- Parameters:
registry
- ServiceRegistry where this object has been registered.category
- a Class object indicating the registry category under
which this object has been registered.
Copyright © 2006–2013 GeoSolutions. All rights reserved.