org.geotools.image.io.mosaic
Class MosaicImageReader.Spi

java.lang.Object
  extended by javax.imageio.spi.IIOServiceProvider
      extended by javax.imageio.spi.ImageReaderWriterSpi
          extended by javax.imageio.spi.ImageReaderSpi
              extended by org.geotools.image.io.mosaic.MosaicImageReader.Spi
All Implemented Interfaces:
javax.imageio.spi.RegisterableService
Enclosing class:
MosaicImageReader

public static class MosaicImageReader.Spi
extends javax.imageio.spi.ImageReaderSpi

Service provider for MosaicImageReader.

Since:
2.5
Version:
$Id: MosaicImageReader.java 31445 2008-09-07 18:14:23Z desruisseaux $
Author:
Martin Desruisseaux

Field Summary
static MosaicImageReader.Spi DEFAULT
          The default instance.
 
Fields inherited from class javax.imageio.spi.ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
 
Fields inherited from class javax.imageio.spi.ImageReaderWriterSpi
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormat
 
Fields inherited from class javax.imageio.spi.IIOServiceProvider
vendorName, version
 
Constructor Summary
MosaicImageReader.Spi()
          Creates a default provider.
 
Method Summary
 boolean canDecodeInput(java.lang.Object source)
          Returns true if the image reader can decode the given input.
 javax.imageio.ImageReader createReaderInstance(java.lang.Object extension)
          Returns a new MosaicImageReader.
 java.lang.String getDescription(java.util.Locale locale)
          Returns a brief, human-readable description of this service provider.
 
Methods inherited from class javax.imageio.spi.ImageReaderSpi
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReader
 
Methods inherited from class javax.imageio.spi.ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported
 
Methods inherited from class javax.imageio.spi.IIOServiceProvider
getVendorName, getVersion, onDeregistration, onRegistration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final MosaicImageReader.Spi DEFAULT
The default instance.

Constructor Detail

MosaicImageReader.Spi

public MosaicImageReader.Spi()
Creates a default provider.

Method Detail

canDecodeInput

public boolean canDecodeInput(java.lang.Object source)
                       throws java.io.IOException
Returns true if the image reader can decode the given input. The default implementation returns true if the given object is non-null and an instance of an input types, or false otherwise.

Specified by:
canDecodeInput in class javax.imageio.spi.ImageReaderSpi
Throws:
java.io.IOException - If an I/O operation was required and failed.

createReaderInstance

public javax.imageio.ImageReader createReaderInstance(java.lang.Object extension)
                                               throws java.io.IOException
Returns a new MosaicImageReader.

Specified by:
createReaderInstance in class javax.imageio.spi.ImageReaderSpi
Throws:
java.io.IOException - If an I/O operation was required and failed.

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Returns a brief, human-readable description of this service provider.

Specified by:
getDescription in class javax.imageio.spi.IIOServiceProvider


Copyright © 1996-2010 Geotools. All Rights Reserved.