it.geosolutions.imageio.plugins.turbojpeg
Class TurboJpegImageWriterSpi

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

public class TurboJpegImageWriterSpi
extends ImageWriterSpi

Author:
Daniele Romagnoli, GeoSolutions SaS

Field Summary
 
Fields inherited from class ImageWriterSpi
outputTypes, readerSpiNames, STANDARD_OUTPUT_TYPE
 
Fields inherited from class ImageReaderWriterSpi
names, pluginClassName
 
Constructor Summary
TurboJpegImageWriterSpi()
          Default ImageWriterSpi constructor for JP2K writers.
 
Method Summary
 boolean canEncodeImage(ImageTypeSpecifier type)
          TODO: Refine the check before releasing.
 ImageWriter createWriterInstance(Object extension)
           
 String getDescription(Locale locale)
           
 void onRegistration(ServiceRegistry registry, Class<?> category)
           
 
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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurboJpegImageWriterSpi

public TurboJpegImageWriterSpi()
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)
TODO: Refine the check before releasing.

Specified by:
canEncodeImage in class ImageWriterSpi

onRegistration

public void onRegistration(ServiceRegistry registry,
                           Class<?> category)
Specified by:
onRegistration in interface RegisterableService
Overrides:
onRegistration in class IIOServiceProvider


Copyright © 2006-2013 GeoSolutions. All Rights Reserved.