Class Overview
The service provider interface (SPI) for ImageTranscoder
s.
For more information on service provider classes, see the class comment
for the IIORegistry
class.
Summary
Public Methods |
abstract
ImageTranscoder
|
createTranscoderInstance()
Returns an instance of the ImageTranscoder
implementation associated with this service provider.
|
abstract
String
|
getReaderServiceProviderName()
Returns the fully qualified class name of an
ImageReaderSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder.
|
abstract
String
|
getWriterServiceProviderName()
Returns the fully qualified class name of an
ImageWriterSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder.
|
[Expand]
Inherited Methods |
From class
javax.imageio.spi.IIOServiceProvider
abstract
String
|
getDescription(Locale locale)
Returns a brief, human-readable description of this service
provider and its associated implementation.
|
String
|
getVendorName()
Returns the name of the vendor responsible for creating this
service provider and its associated implementation.
|
String
|
getVersion()
Returns a string describing the version
number of this service provider and its associated
implementation.
|
void
|
onDeregistration(ServiceRegistry registry, Class<?> category)
A callback that will be whenever the Spi class has been
deregistered from a ServiceRegistry .
|
void
|
onRegistration(ServiceRegistry registry, Class<?> category)
A callback that will be called exactly once after the Spi class
has been instantiated and registered in a
ServiceRegistry .
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
javax.imageio.spi.RegisterableService
abstract
void
|
onDeregistration(ServiceRegistry registry, Class<?> category)
Called when an object implementing this interface is removed
from the given category of the given
registry .
|
abstract
void
|
onRegistration(ServiceRegistry registry, Class<?> category)
Called when an object implementing this interface is added to
the given category of the given
registry .
|
|
Public Constructors
public
ImageTranscoderSpi
(String vendorName, String version)
Constructs an ImageTranscoderSpi
with a given set
of values.
Parameters
vendorName
| the vendor name. |
version
| a version identifier.
|
Protected Constructors
protected
ImageTranscoderSpi
()
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.
Public Methods
public
abstract
ImageTranscoder
createTranscoderInstance
()
Returns an instance of the ImageTranscoder
implementation associated with this service provider.
Returns
- an
ImageTranscoder
instance.
public
abstract
String
getReaderServiceProviderName
()
Returns the fully qualified class name of an
ImageReaderSpi
class that generates
IIOMetadata
objects that may be used as input to
this transcoder.
Returns
- a
String
containing the fully-qualified
class name of the ImageReaderSpi
implementation class.
public
abstract
String
getWriterServiceProviderName
()
Returns the fully qualified class name of an
ImageWriterSpi
class that generates
IIOMetadata
objects that may be used as input to
this transcoder.
Returns
- a
String
containing the fully-qualified
class name of the ImageWriterSpi
implementation class.