Search in sources :

Example 1 with FileImageOutputStreamSpi

use of com.sun.imageio.spi.FileImageOutputStreamSpi in project jdk8u_jdk by JetBrains.

the class IIORegistry method registerStandardSpis.

private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());
    registerInstalledProviders();
}
Also used : GIFImageReaderSpi(com.sun.imageio.plugins.gif.GIFImageReaderSpi) PNGImageWriterSpi(com.sun.imageio.plugins.png.PNGImageWriterSpi) RAFImageOutputStreamSpi(com.sun.imageio.spi.RAFImageOutputStreamSpi) JPEGImageWriterSpi(com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi) PNGImageReaderSpi(com.sun.imageio.plugins.png.PNGImageReaderSpi) BMPImageReaderSpi(com.sun.imageio.plugins.bmp.BMPImageReaderSpi) WBMPImageReaderSpi(com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi) OutputStreamImageOutputStreamSpi(com.sun.imageio.spi.OutputStreamImageOutputStreamSpi) FileImageInputStreamSpi(com.sun.imageio.spi.FileImageInputStreamSpi) WBMPImageReaderSpi(com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi) InputStreamImageInputStreamSpi(com.sun.imageio.spi.InputStreamImageInputStreamSpi) FileImageOutputStreamSpi(com.sun.imageio.spi.FileImageOutputStreamSpi) RAFImageInputStreamSpi(com.sun.imageio.spi.RAFImageInputStreamSpi) GIFImageWriterSpi(com.sun.imageio.plugins.gif.GIFImageWriterSpi) WBMPImageWriterSpi(com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi) BMPImageWriterSpi(com.sun.imageio.plugins.bmp.BMPImageWriterSpi) WBMPImageWriterSpi(com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi) JPEGImageReaderSpi(com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi)

Example 2 with FileImageOutputStreamSpi

use of com.sun.imageio.spi.FileImageOutputStreamSpi in project jdk8u_jdk by JetBrains.

the class SpiVersionNumbers method main.

public static void main(String[] args) {
    check(new FileImageInputStreamSpi());
    check(new InputStreamImageInputStreamSpi());
    check(new RAFImageInputStreamSpi());
    check(new FileImageOutputStreamSpi());
    check(new OutputStreamImageOutputStreamSpi());
    check(new RAFImageOutputStreamSpi());
}
Also used : InputStreamImageInputStreamSpi(com.sun.imageio.spi.InputStreamImageInputStreamSpi) FileImageOutputStreamSpi(com.sun.imageio.spi.FileImageOutputStreamSpi) RAFImageInputStreamSpi(com.sun.imageio.spi.RAFImageInputStreamSpi) RAFImageOutputStreamSpi(com.sun.imageio.spi.RAFImageOutputStreamSpi) OutputStreamImageOutputStreamSpi(com.sun.imageio.spi.OutputStreamImageOutputStreamSpi) FileImageInputStreamSpi(com.sun.imageio.spi.FileImageInputStreamSpi)

Aggregations

FileImageInputStreamSpi (com.sun.imageio.spi.FileImageInputStreamSpi)2 FileImageOutputStreamSpi (com.sun.imageio.spi.FileImageOutputStreamSpi)2 InputStreamImageInputStreamSpi (com.sun.imageio.spi.InputStreamImageInputStreamSpi)2 OutputStreamImageOutputStreamSpi (com.sun.imageio.spi.OutputStreamImageOutputStreamSpi)2 RAFImageInputStreamSpi (com.sun.imageio.spi.RAFImageInputStreamSpi)2 RAFImageOutputStreamSpi (com.sun.imageio.spi.RAFImageOutputStreamSpi)2 BMPImageReaderSpi (com.sun.imageio.plugins.bmp.BMPImageReaderSpi)1 BMPImageWriterSpi (com.sun.imageio.plugins.bmp.BMPImageWriterSpi)1 GIFImageReaderSpi (com.sun.imageio.plugins.gif.GIFImageReaderSpi)1 GIFImageWriterSpi (com.sun.imageio.plugins.gif.GIFImageWriterSpi)1 JPEGImageReaderSpi (com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi)1 JPEGImageWriterSpi (com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi)1 PNGImageReaderSpi (com.sun.imageio.plugins.png.PNGImageReaderSpi)1 PNGImageWriterSpi (com.sun.imageio.plugins.png.PNGImageWriterSpi)1 WBMPImageReaderSpi (com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi)1 WBMPImageWriterSpi (com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi)1