org.geotoolkit.image.io
Class StreamImageReader.Spi

Object
  extended by IIOServiceProvider
      extended by ImageReaderWriterSpi
          extended by ImageReaderSpi
              extended by SpatialImageReader.Spi
                  extended by StreamImageReader.Spi
All Implemented Interfaces:
RegisterableService
Direct Known Subclasses:
NetcdfImageReader.Spi, TextImageReader.Spi
Enclosing class:
StreamImageReader

protected abstract static class StreamImageReader.Spi
extends SpatialImageReader.Spi

Service provider interface (SPI) for StreamImageReaders. The constructor of this class initializes the ImageReaderSpi.inputTypes field to the value documented in the StreamImageReader javadoc, which are:

Field Value
 ImageReaderSpi.inputTypes   String, File, URI, URL, URLConnection, InputStream, ImageInputStream, ReadableByteChannel 
See super-class javadoc for remaining fields

It is up to subclass constructors to initialize all other instance variables in order to provide working versions of every methods.

Since:
2.4
Version:
3.20
Author:
Martin Desruisseaux (IRD, Geomatys)
See Also:
StreamImageWriter.Spi
Module:
coverage/geotk-coverageio (download)    View source code for this class

Field Summary
 
Fields inherited from class ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
 
Fields inherited from class ImageReaderWriterSpi
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormat
 
Fields inherited from class IIOServiceProvider
vendorName, version
 
Constructor Summary
protected StreamImageReader.Spi()
          Constructs a quasi-blank StreamImageReader.Spi.
 
Method Summary
 
Methods inherited from class SpatialImageReader.Spi
getImageMetadataFormat, getStreamMetadataFormat
 
Methods inherited from class ImageReaderSpi
canDecodeInput, createReaderInstance, createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReader
 
Methods inherited from class ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported
 
Methods inherited from class IIOServiceProvider
getDescription, getVendorName, getVersion, onDeregistration, onRegistration
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamImageReader.Spi

protected StreamImageReader.Spi()
Constructs a quasi-blank StreamImageReader.Spi. The ImageReaderSpi.inputTypes field is initialized as documented in the class javadoc. It is up to the subclass to initialize all other instance variables in order to provide working versions of all methods.

For efficiency reasons, the inputTypes field is initialized to a shared array. Subclasses can assign new arrays, but should not modify the default array content.



Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.