it.geosolutions.imageio.plugins.arcgrid.spi
Class AsciiGridsImageReaderSpi

Object
  extended by IIOServiceProvider
      extended by ImageReaderWriterSpi
          extended by ImageReaderSpi
              extended by AsciiGridsImageReaderSpi
All Implemented Interfaces:
RegisterableService

public final class AsciiGridsImageReaderSpi
extends ImageReaderSpi

Class which provides a specialized Service Provider Interface which instantiates an AsciiGridsImageReader if it is able to decode the input provided.

Author:
Daniele Romagnoli, GeoSolutions., Simone Giannecchini, GeoSolutions.

Field Summary
 
Fields inherited from class ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
 
Fields inherited from class ImageReaderWriterSpi
names, pluginClassName
 
Constructor Summary
AsciiGridsImageReaderSpi()
           
 
Method Summary
 boolean canDecodeInput(Object input)
          This method check if the input source can be decoded by the reader provided by this specific subclass of ImageReaderSpi.
 ImageReader createReaderInstance(Object source)
          Returns an instance of the AsciiGridsImageReader
 void dispose()
           
 String getDescription(Locale locale)
           
 
Methods inherited from class ImageReaderSpi
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReader
 
Methods inherited from class ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported
 
Methods inherited from class IIOServiceProvider
getVendorName, getVersion, onDeregistration, onRegistration
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiGridsImageReaderSpi

public AsciiGridsImageReaderSpi()
Method Detail

canDecodeInput

public boolean canDecodeInput(Object input)
                       throws IOException
This method check if the input source can be decoded by the reader provided by this specific subclass of ImageReaderSpi. Return true if the check was successfully passed input source type accepted and handled are String, File, Url, InputStream and ImageInputStream.

Specified by:
canDecodeInput in class ImageReaderSpi
Throws:
IOException
See Also:
ImageReaderSpi.canDecodeInput(java.lang.Object)

createReaderInstance

public ImageReader createReaderInstance(Object source)
                                 throws IOException
Returns an instance of the AsciiGridsImageReader

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)

dispose

public void dispose()


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.