/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.imageio.spi;
import javax.imageio.ImageTranscoder;
/**
* The service provider interface (SPI) for ImageTranscoder
s.
* For more information on service provider classes, see the class comment
* for the IIORegistry
class.
*
* @see IIORegistry
* @see javax.imageio.ImageTranscoder
*
*/
public abstract class ImageTranscoderSpi extends IIOServiceProvider {
/**
* Constructs a blank ImageTranscoderSpi
. 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 ImageTranscoderSpi
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
* ImageReaderSpi
class that generates
* IIOMetadata
objects that may be used as input to
* this transcoder.
*
* @return a String
containing the fully-qualified
* class name of the ImageReaderSpi
implementation class.
*
* @see ImageReaderSpi
*/
public abstract String getReaderServiceProviderName();
/**
* Returns the fully qualified class name of an
* ImageWriterSpi
class that generates
* IIOMetadata
objects that may be used as input to
* this transcoder.
*
* @return a String
containing the fully-qualified
* class name of the ImageWriterSpi
implementation class.
*
* @see ImageWriterSpi
*/
public abstract String getWriterServiceProviderName();
/**
* Returns an instance of the ImageTranscoder
* implementation associated with this service provider.
*
* @return an ImageTranscoder
instance.
*/
public abstract ImageTranscoder createTranscoderInstance();
}