javax.imageio.spi

Class ImageTranscoderSpi

public abstract class ImageTranscoderSpi extends IIOServiceProvider

An abstract superclass for service providers that create {@linkplain javax.imageio.ImageTranscoder image metadata transcoders}.

Since: 1.4

Constructor Summary
protected ImageTranscoderSpi()
Constructs a service provider for image metadata transcoders, given no parameters.
ImageTranscoderSpi(String vendorName, String version)
Constructs a service provider for image metadata transcoders, given the vendor name and a version string.
Method Summary
abstract ImageTranscodercreateTranscoderInstance()
abstract StringgetReaderServiceProviderName()
abstract StringgetWriterServiceProviderName()

Constructor Detail

ImageTranscoderSpi

protected ImageTranscoderSpi()
Constructs a service provider for image metadata transcoders, given no parameters. It is up to the sub-class to set {@link #vendorName} and {@link #version} to non-null values.

ImageTranscoderSpi

public ImageTranscoderSpi(String vendorName, String version)
Constructs a service provider for image metadata transcoders, given the vendor name and a version string.

Throws: IllegalArgumentException if vendorName or version is null.

Method Detail

createTranscoderInstance

public abstract ImageTranscoder createTranscoderInstance()

getReaderServiceProviderName

public abstract String getReaderServiceProviderName()

getWriterServiceProviderName

public abstract String getWriterServiceProviderName()