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

FileImageOutputStreamSpi

public class FileImageOutputStreamSpi extends ImageOutputStreamSpi

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


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

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

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