FileDocCategorySizeDatePackage
RAFImageOutputStreamSpi.javaAPI DocJava SE 5 API1568Fri Aug 26 14:54:44 BST 2005com.sun.imageio.spi

RAFImageOutputStreamSpi

public class RAFImageOutputStreamSpi extends ImageOutputStreamSpi

Fields Summary
private static final String
vendorName
private static final String
version
private static final Class
outputClass
Constructors Summary
public RAFImageOutputStreamSpi()


      
        super(vendorName, version, outputClass);
    
Methods Summary
public javax.imageio.stream.ImageOutputStreamcreateOutputStreamInstance(java.lang.Object output, boolean useCache, java.io.File cacheDir)

        if (output instanceof RandomAccessFile) {
            try {
                return new FileImageOutputStream((RandomAccessFile)output);
            } catch (Exception e) {
                e.printStackTrace();
                return null;
            }
        } else {
            throw new IllegalArgumentException
                ("input not a RandomAccessFile!");
        }
    
public java.lang.StringgetDescription(java.util.Locale locale)

        return "Service provider that instantiates a FileImageOutputStream from a RandomAccessFile";