APIdia Launch Partner
Top Fields Constructors Methods
com.sun.imageio.spi

public Class FileImageInputStreamSpi

extends ImageInputStreamSpi
Class Inheritance
Imports
java.io.File, java.util.Locale, javax.imageio.spi.ImageInputStreamSpi, javax.imageio.stream.ImageInputStream, .FileImageInputStream

Field Summary

Modifier and TypeField and Description
private static final Class<?>
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ImageInputStream
createInputStreamInstance(Object input, boolean useCache, File cacheDir)

Implements abstract javax.imageio.spi.ImageInputStreamSpi.createInputStreamInstance.

Returns an instance of the ImageInputStream implementation associated with this service provider.

public String
getDescription(Locale locale)

Implements abstract javax.imageio.spi.IIOServiceProvider.getDescription.

Returns a brief, human-readable description of this service provider and its associated implementation.

Inherited from javax.imageio.spi.ImageInputStreamSpi:
canUseCacheFilecreateInputStreamInstancegetInputClassneedsCacheFile

Field Detail

inputClassback to summary
private static final Class<?> inputClass

Hides javax.imageio.spi.ImageInputStreamSpi.inputClass.

vendorNameback to summary
private static final String vendorName

Hides javax.imageio.spi.IIOServiceProvider.vendorName.

versionback to summary
private static final String version

Hides javax.imageio.spi.IIOServiceProvider.version.

Constructor Detail

FileImageInputStreamSpiback to summary
public FileImageInputStreamSpi()

Method Detail

createInputStreamInstanceback to summary
public ImageInputStream createInputStreamInstance(Object input, boolean useCache, File cacheDir)

Implements abstract javax.imageio.spi.ImageInputStreamSpi.createInputStreamInstance.

Doc from javax.imageio.spi.ImageInputStreamSpi.createInputStreamInstance.

Returns an instance of the ImageInputStream implementation associated with this service provider. If the use of a cache file is optional, the useCache parameter will be consulted. Where a cache is required, or not applicable, the value of useCache will be ignored.

Annotations
@Override
getDescriptionback to summary
public String getDescription(Locale locale)

Implements abstract javax.imageio.spi.IIOServiceProvider.getDescription.

Doc from javax.imageio.spi.IIOServiceProvider.getDescription.

Returns a brief, human-readable description of this service provider and its associated implementation. The resulting string should be localized for the supplied Locale, if possible.

Annotations
@Override