API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.spi. ImageReaderSpi View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      IIOServiceProvider
          ImageReaderWriterSpi
              ImageReaderSpi
Implements
Subclasses
Description
publicabstract abstract class ImageReaderSpi
  The service provider interface (SPI) for ImageReaders.
See also:    IIORegistry ImageReader
Constructors
protected ImageReaderSpi ()
  Constructs a blank ImageReaderSpi.
public ImageReaderSpi (String vendorName, String version, String names, String suffixes, String MIMETypes, String readerClassName, Class inputTypes, String writerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String extraStreamMetadataFormatNames, String extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String extraImageMetadataFormatNames, String extraImageMetadataFormatClassNames)
  Constructs an ImageReaderSpi with a given set of values.
Methods
Hide/Show inherited methods
publicabstract boolean canDecodeInput (Object source) throws IOException
  Returns true if the supplied source object appears to be of the format supported by this reader.
public ImageReader createReaderInstance () throws IOException
  Returns an instance of the ImageReader implementation associated with this service provider.
publicabstract ImageReader createReaderInstance (Object extension) throws IOException
  Returns an instance of the ImageReader 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 String getExtraImageMetadataFormatNames () [Inherited From ImageReaderWriterSpi]
  Returns an array of Strings containing the names of additional document formats, other than the native and standard formats, recognized by the getAsTree and setFromTree methods on the image metadata objects produced or consumed by this plug-in.
public String getExtraStreamMetadataFormatNames () [Inherited From ImageReaderWriterSpi]
  Returns an array of Strings containing the names of additional document formats, other than the native and standard formats, recognized by the getAsTree and setFromTree methods on the stream metadata objects produced or consumed by this plug-in.
public String getFileSuffixes () [Inherited From ImageReaderWriterSpi]
  Returns an array of Strings containing a list of file suffixes associated with the formats that are generally usable by the ImageReader or ImageWriter implementation associated with this service provider.
public String getFormatNames () [Inherited From ImageReaderWriterSpi]
  Returns an array of Strings containing human-readable names for the formats that are generally usable by the ImageReader or ImageWriter implementation associated with this service provider.
public IIOMetadataFormat getImageMetadataFormat (String formatName) [Inherited From ImageReaderWriterSpi]
  Returns an IIOMetadataFormat object describing the given image metadata format, or null if no description is available.
public String getImageWriterSpiNames ()
  Returns an array of Strings containing the fully qualified names of all the ImageWriterSpi classes that can understand the internal metadata representation used by the ImageReader associated with this service provider, or null if there are no such ImageWriters specified.
public Class getInputTypes ()
  Returns an array of Class objects indicating what types of objects may be used as arguments to the reader's setInput method.
public String getMIMETypes () [Inherited From ImageReaderWriterSpi]
  Returns an array of Strings containing a list of MIME types associated with the formats that are generally usable by the ImageReader or ImageWriter implementation associated with this service provider.
public String getNativeImageMetadataFormatName () [Inherited From ImageReaderWriterSpi]
  Returns the name of the "native" image metadata format for this plug-in, which typically allows for lossless encoding and transmission of the image metadata stored in the format handled by this plug-in.
public String getNativeStreamMetadataFormatName () [Inherited From ImageReaderWriterSpi]
  Returns the name of the "native" stream metadata format for this plug-in, which typically allows for lossless encoding and transmission of the stream metadata stored in the format handled by this plug-in.
public String getPluginClassName () [Inherited From ImageReaderWriterSpi]
  Returns the fully-qualified class name of the ImageReader or ImageWriter plug-in associated with this service provider.
public IIOMetadataFormat getStreamMetadataFormat (String formatName) [Inherited From ImageReaderWriterSpi]
  Returns an IIOMetadataFormat object describing the given stream metadata format, or null if no description is available.
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 isOwnReader (ImageReader reader)
  Returns true if the ImageReader object passed in is an instance of the ImageReader associated with this service provider.
public boolean isStandardImageMetadataFormatSupported () [Inherited From ImageReaderWriterSpi]
  Returns true if the standard metadata format is among the document formats recognized by the getAsTree and setFromTree methods on the image metadata objects produced or consumed by this plug-in.
public boolean isStandardStreamMetadataFormatSupported () [Inherited From ImageReaderWriterSpi]
  Returns true if the standard metadata format is among the document formats recognized by the getAsTree and setFromTree methods on the stream metadata objects produced or consumed by this plug-in.
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 String extraImageMetadataFormatClassNames [Inherited From ImageReaderWriterSpi]
An array of Strings containing the class names of any additional image metadata formats supported by this plug-in, initially null.
protected String extraImageMetadataFormatNames [Inherited From ImageReaderWriterSpi]
An array of Strings containing the names of any additional image metadata formats supported by this plug-in, initially null.
protected String extraStreamMetadataFormatClassNames [Inherited From ImageReaderWriterSpi]
An array of Strings containing the class names of any additional stream metadata formats supported by this plug-in, initially null.
protected String extraStreamMetadataFormatNames [Inherited From ImageReaderWriterSpi]
An array of Strings containing the names of any additional stream metadata formats supported by this plug-in, initially null.
protected Class inputTypes
An array of Class objects to be returned from getInputTypes, initially null.
protected String MIMETypes [Inherited From ImageReaderWriterSpi]
An array of strings to be returned from getMIMETypes, initially null.
protected String names [Inherited From ImageReaderWriterSpi]
  An array of strings to be returned from getFormatNames, initially null.
protected String nativeImageMetadataFormatClassName [Inherited From ImageReaderWriterSpi]
A String containing the class name of the native stream metadata format supported by this plug-in, initially null.
protected String nativeImageMetadataFormatName [Inherited From ImageReaderWriterSpi]
A String containing the name of the native stream metadata format supported by this plug-in, initially null.
protected String nativeStreamMetadataFormatClassName [Inherited From ImageReaderWriterSpi]
A String containing the class name of the native stream metadata format supported by this plug-in, initially null.
protected String nativeStreamMetadataFormatName [Inherited From ImageReaderWriterSpi]
A String containing the name of the native stream metadata format supported by this plug-in, initially null.
protected String pluginClassName [Inherited From ImageReaderWriterSpi]
A String containing the name of the associated plug-in class, initially null.
publicfinalstatic Class STANDARD_INPUT_TYPE
A single-element array, initially containing ImageInputStream.class, to be returned from getInputTypes.
protected String suffixes [Inherited From ImageReaderWriterSpi]
An array of strings to be returned from getFileSuffixes, initially null.
protected boolean supportsStandardImageMetadataFormat [Inherited From ImageReaderWriterSpi]
A boolean indicating whether this plug-in supports the standard metadata format for image metadata, initially false.
protected boolean supportsStandardStreamMetadataFormat [Inherited From ImageReaderWriterSpi]
A boolean indicating whether this plug-in supports the standard metadata format for stream metadata, initially false.
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.
protected String writerSpiNames
An array of strings to be returned from getImageWriterSpiNames, initially null.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar