it.geosolutions.imageio.plugins.jp2k
Class JP2KKakaduImageWriterSpi

Object
  extended by IIOServiceProvider
      extended by ImageReaderWriterSpi
          extended by ImageWriterSpi
              extended by JP2KKakaduImageWriterSpi
All Implemented Interfaces:
RegisterableService

public class JP2KKakaduImageWriterSpi
extends ImageWriterSpi

Author:
Daniele Romagnoli, GeoSolutions, Simone Giannecchini, GeoSolutions

Field Summary
 
Fields inherited from class ImageWriterSpi
outputTypes, readerSpiNames, STANDARD_OUTPUT_TYPE
 
Fields inherited from class 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 ImageWriterSpi
canEncodeImage, createWriterInstance, getImageReaderSpiNames, getOutputTypes, isFormatLossless, isOwnWriter
 
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

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-2010 GeoSolutions. All Rights Reserved.