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

java.lang.Object
  extended by javax.imageio.spi.IIOServiceProvider
      extended by javax.imageio.spi.ImageReaderWriterSpi
          extended by javax.imageio.spi.ImageReaderSpi
              extended by it.geosolutions.imageio.plugins.arcgrid.spi.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 javax.imageio.spi.ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
 
Fields inherited from class javax.imageio.spi.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 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
 

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–2014 GeoSolutions. All rights reserved.