API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.spi. ImageOutputStreamSpi View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      IIOServiceProvider
          ImageOutputStreamSpi
Implements
Subclasses
Description
publicabstract abstract class ImageOutputStreamSpi
  The service provider interface (SPI) for ImageOutputStreams.
Constructors
protected ImageOutputStreamSpi ()
  Constructs a blank ImageOutputStreamSpi.
public ImageOutputStreamSpi (String vendorName, String version, Class<Object> outputClass)
  Constructs an ImageOutputStreamSpi with a given set of values.
Methods
Hide/Show inherited methods
public boolean canUseCacheFile ()
  Returns true if the ImageOutputStream implementation associated with this service provider can optionally make use of a cache File for improved performance and/or memory footrprint.
public ImageOutputStream createOutputStreamInstance (Object output) throws IOException
  Returns an instance of the ImageOutputStream implementation associated with this service provider.
publicabstract ImageOutputStream createOutputStreamInstance (Object output, boolean useCache, File cacheDir) throws IOException
  Returns an instance of the ImageOutputStream 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> getOutputClass ()
  Returns a Class object representing the class or interface type that must be implemented by an output destination in order to be "wrapped" in an ImageOutputStream via the createOutputStreamInstance 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 ImageOutputStream 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> outputClass
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