it.geosolutions.imageio.plugins.jp2k
Class JP2KKakaduImageWriterSpi

java.lang.Object
  extended by javax.imageio.spi.IIOServiceProvider
      extended by javax.imageio.spi.ImageReaderWriterSpi
          extended by javax.imageio.spi.ImageWriterSpi
              extended by it.geosolutions.imageio.plugins.jp2k.JP2KKakaduImageWriterSpi
All Implemented Interfaces:
RegisterableService

public class JP2KKakaduImageWriterSpi
extends ImageWriterSpi

Author:
Daniele Romagnoli, GeoSolutions, Simone Giannecchini, GeoSolutions

Field Summary
 
Fields inherited from class javax.imageio.spi.ImageWriterSpi
outputTypes, readerSpiNames, STANDARD_OUTPUT_TYPE
 
Fields inherited from class javax.imageio.spi.ImageReaderWriterSpi
names, pluginClassName
 
Constructor Summary
JP2KKakaduImageWriterSpi()
          Default ImageWriterSpi constructor for JP2K writers.
 
Method Summary
 boolean canEncodeImage(ImageTypeSpecifier type)
          Refine the check if needed.
 ImageWriter createWriterInstance(Object extension)
           
 String getDescription(Locale locale)
           
 
Methods inherited from class javax.imageio.spi.ImageWriterSpi
canEncodeImage, createWriterInstance, getImageReaderSpiNames, getOutputTypes, isFormatLossless, isOwnWriter
 
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

JP2KKakaduImageWriterSpi

public JP2KKakaduImageWriterSpi()
Default ImageWriterSpi constructor for JP2K writers.

Method Detail

createWriterInstance

public ImageWriter createWriterInstance(Object extension)
                                 throws IOException
Specified by:
createWriterInstance in class ImageWriterSpi
Throws:
IOException
See Also:
ImageWriterSpi.createWriterInstance(java.lang.Object)

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in class IIOServiceProvider
See Also:
IIOServiceProvider.getDescription(java.util.Locale)

canEncodeImage

public boolean canEncodeImage(ImageTypeSpecifier type)
Refine the check if needed.

Specified by:
canEncodeImage in class ImageWriterSpi


Copyright © 2006–2014 GeoSolutions. All rights reserved.