public class JP2KKakaduImageReaderSpi extends ImageReaderSpi
Modifier and Type | Field and Description |
---|---|
protected boolean |
registered |
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
names, pluginClassName
Constructor and Description |
---|
JP2KKakaduImageReaderSpi() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDecodeInput(Object input)
This method checks if the provided input can be decoded from this SPI
|
ImageReader |
createReaderInstance(Object source)
Returns an instance of the
JP2KKakaduImageReader |
String |
getDescription(Locale locale) |
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
|
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReader
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported
getVendorName, getVersion, onDeregistration
public boolean canDecodeInput(Object input) throws IOException
canDecodeInput
in class ImageReaderSpi
IOException
public ImageReader createReaderInstance(Object source) throws IOException
JP2KKakaduImageReader
createReaderInstance
in class ImageReaderSpi
IOException
ImageReaderSpi.createReaderInstance(java.lang.Object)
public String getDescription(Locale locale)
getDescription
in class IIOServiceProvider
IIOServiceProvider.getDescription(java.util.Locale)
public void onRegistration(ServiceRegistry registry, Class category)
onRegistration
in interface RegisterableService
onRegistration
in class IIOServiceProvider
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–2015 GeoSolutions. All rights reserved.