FileDocCategorySizeDatePackage
InputStreamIISSpi.javaAPI DocAndroid 1.5 API2016Wed May 06 22:41:54 BST 2009org.apache.harmony.x.imageio.spi

InputStreamIISSpi

public class InputStreamIISSpi extends ImageInputStreamSpi

Fields Summary
private static final String
vendor
private static final String
ver
Constructors Summary
public InputStreamIISSpi()


      
        super(vendor, ver, InputStream.class);
    
Methods Summary
public booleancanUseCacheFile()

        return true;
    
public javax.imageio.stream.ImageInputStreamcreateInputStreamInstance(java.lang.Object input, boolean useCache, java.io.File cacheDir)

        if (input instanceof InputStream) {
            if (useCache) {
                return new FileCacheImageInputStream((InputStream) input, cacheDir);
            } else {
                return new MemoryCacheImageInputStream((InputStream) input);
            }
        }
        throw new IllegalArgumentException("Output is not an instance of InputStream");
    
public java.lang.StringgetDescription(java.util.Locale locale)

        return "Output Stream IOS Spi";