/*
* @(#)ImageTranscoderSpi.java 1.19 05/11/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package javax.imageio.spi;
import javax.imageio.ImageTranscoder;
/**
* The service provider interface (SPI) for <code>ImageTranscoder</code>s.
* For more information on service provider classes, see the class comment
* for the <code>IIORegistry</code> class.
*
* @see IIORegistry
* @see javax.imageio.ImageTranscoder
*
* @version 0.5
*/
public abstract class ImageTranscoderSpi extends IIOServiceProvider {
/**
* Constructs a blank <code>ImageTranscoderSpi</code>. It is up
* to the subclass to initialize instance variables and/or
* override method implementations in order to provide working
* versions of all methods.
*/
protected ImageTranscoderSpi() {
}
/**
* Constructs an <code>ImageTranscoderSpi</code> with a given set
* of values.
*
* @param vendorName the vendor name.
* @param version a version identifier.
*/
public ImageTranscoderSpi(String vendorName,
String version) {
super(vendorName, version);
}
/**
* Returns the fully qualified class name of an
* <code>ImageReaderSpi</code> class that generates
* <code>IIOMetadata</code> objects that may be used as input to
* this transcoder.
*
* @return a <code>String</code> containing the fully-qualified
* class name of the <code>ImageReaderSpi</code> implementation class.
*
* @see ImageReaderSpi
*/
public abstract String getReaderServiceProviderName();
/**
* Returns the fully qualified class name of an
* <code>ImageWriterSpi</code> class that generates
* <code>IIOMetadata</code> objects that may be used as input to
* this transcoder.
*
* @return a <code>String</code> containing the fully-qualified
* class name of the <code>ImageWriterSpi</code> implementation class.
*
* @see ImageWriterSpi
*/
public abstract String getWriterServiceProviderName();
/**
* Returns an instance of the <code>ImageTranscoder</code>
* implementation associated with this service provider.
*
* @return an <code>ImageTranscoder</code> instance.
*/
public abstract ImageTranscoder createTranscoderInstance();
}