ImageInputStreams. For more information on service provider interfaces, see the class comment for the IIORegistry class. This interface allows arbitrary objects to be "wrapped" by instances of ImageInputStream. For example, a particular ImageInputStreamSpi might allow a generic InputStream to be used as an input source; another might take input from a URL.
By treating the creation of ImageInputStreams as a pluggable service, it becomes possible to handle future input sources without changing the API. Also, high-performance implementations of ImageInputStream (for example, native implementations for a particular platform) can be installed and used transparently by applications.
@see IIORegistry
@see ae.javax.imageio.stream.ImageInputStream
| |