org.geotools.image.io.text
Class TextMatrixImageWriter.Spi

java.lang.Object
  extended by javax.imageio.spi.IIOServiceProvider
      extended by javax.imageio.spi.ImageReaderWriterSpi
          extended by javax.imageio.spi.ImageWriterSpi
              extended by org.geotools.image.io.StreamImageWriter.Spi
                  extended by org.geotools.image.io.text.TextImageWriter.Spi
                      extended by org.geotools.image.io.text.TextMatrixImageWriter.Spi
All Implemented Interfaces:
javax.imageio.spi.RegisterableService
Enclosing class:
TextMatrixImageWriter

public static class TextMatrixImageWriter.Spi
extends TextImageWriter.Spi

Service provider interface (SPI) for TextMatrixImageWriters.

Since:
2.4
Version:
$Id: TextMatrixImageWriter.java 30679 2008-06-13 10:19:41Z acuster $
Author:
Martin Desruisseaux

Field Summary
 
Fields inherited from class org.geotools.image.io.text.TextImageWriter.Spi
charset, lineSeparator, locale
 
Fields inherited from class javax.imageio.spi.ImageWriterSpi
outputTypes, readerSpiNames, STANDARD_OUTPUT_TYPE
 
Fields inherited from class javax.imageio.spi.ImageReaderWriterSpi
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormat
 
Fields inherited from class javax.imageio.spi.IIOServiceProvider
vendorName, version
 
Constructor Summary
TextMatrixImageWriter.Spi()
          Constructs a default TextMatrixImageWriter.Spi.
 
Method Summary
 javax.imageio.ImageWriter createWriterInstance(java.lang.Object extension)
          Returns an instance of the ImageWriter implementation associated with this service provider.
 java.lang.String getDescription(java.util.Locale locale)
          Returns a brief, human-readable description of this service provider and its associated implementation.
 
Methods inherited from class org.geotools.image.io.StreamImageWriter.Spi
canEncodeImage
 
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

TextMatrixImageWriter.Spi

public TextMatrixImageWriter.Spi()
Constructs a default TextMatrixImageWriter.Spi. This constructor provides the following defaults in addition to the defaults defined in the super-class constructor: For efficienty reasons, the above fields are initialized to shared arrays. Subclasses can assign new arrays, but should not modify the default array content.

Method Detail

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Returns a brief, human-readable description of this service provider and its associated implementation. The resulting string should be localized for the supplied locale, if possible.

Specified by:
getDescription in class javax.imageio.spi.IIOServiceProvider
Parameters:
locale - A Locale for which the return value should be localized.
Returns:
A String containing a description of this service provider.

createWriterInstance

public javax.imageio.ImageWriter createWriterInstance(java.lang.Object extension)
                                               throws java.io.IOException
Returns an instance of the ImageWriter implementation associated with this service provider.

Specified by:
createWriterInstance in class javax.imageio.spi.ImageWriterSpi
Parameters:
extension - An optional extension object, which may be null.
Returns:
An image writer instance.
Throws:
java.io.IOException - if the attempt to instantiate the writer fails.


Copyright © 1996-2010 Geotools. All Rights Reserved.