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

FileImageInputStreamSpi

public class FileImageInputStreamSpi extends ImageInputStreamSpi

Fields Summary
private static final String
vendorName
private static final String
version
private static final Class
inputClass
Constructors Summary
public FileImageInputStreamSpi()


      
        super(vendorName, version, inputClass);
    
Methods Summary
public javax.imageio.stream.ImageInputStreamcreateInputStreamInstance(java.lang.Object input, boolean useCache, java.io.File cacheDir)

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

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