API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.spi. ImageInputStreamSpi View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      IIOServiceProvider
          ImageInputStreamSpi
Implements
Subclasses
Description
publicabstract abstract class ImageInputStreamSpi
  The service provider interface (SPI) for ImageInputStreams.
See also:    IIORegistry ImageInputStream
Constructors
protected ImageInputStreamSpi ()
  Constructs a blank ImageInputStreamSpi.
public ImageInputStreamSpi (String vendorName, String version, Class<Object> inputClass)
  Constructs an ImageInputStreamSpi with a given set of values.
Methods
Hide/Show inherited methods
public boolean canUseCacheFile ()
  Returns true if the ImageInputStream implementation associated with this service provider can optionally make use of a cache file for improved performance and/or memory footrprint.
public ImageInputStream createInputStreamInstance (Object input) throws IOException
  Returns an instance of the ImageInputStream implementation associated with this service provider.
publicabstract ImageInputStream createInputStreamInstance (Object input, boolean useCache, File cacheDir) throws IOException
  Returns an instance of the ImageInputStream implementation associated with this service provider.
publicabstract String getDescription (Locale locale) [Inherited From IIOServiceProvider]
  Returns a brief, human-readable description of this service provider and its associated implementation.
public Class<Object> getInputClass ()
  Returns a Class object representing the class or interface type that must be implemented by an input source in order to be "wrapped" in an ImageInputStream via the createInputStreamInstance method.
public String getVendorName () [Inherited From IIOServiceProvider]
  Returns the name of the vendor responsible for creating this service provider and its associated implementation.
public String getVersion () [Inherited From IIOServiceProvider]
  Returns a string describing the version number of this service provider and its associated implementation.
public boolean needsCacheFile ()
  Returns true if the ImageInputStream implementation associated with this service provider requires the use of a cache File.
public void onDeregistration (ServiceRegistry registry, Class<Object> category) [Inherited From IIOServiceProvider]
  A callback that will be whenever the Spi class has been deregistered from a ServiceRegistry.
public void onRegistration (ServiceRegistry registry, Class<Object> category) [Inherited From IIOServiceProvider]
  A callback that will be called exactly once after the Spi class has been instantiated and registered in a ServiceRegistry.
Fields
Hide/Show inherited fields
protected Class<Object> inputClass
A Class object indicating the legal object type for use by the createInputStreamInstance method.
protected String vendorName [Inherited From IIOServiceProvider]
  A String to be returned from getVendorName, initially null.
protected String version [Inherited From IIOServiceProvider]
  A String to be returned from getVersion, initially null.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar