java.lang.Objectjavax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageReaderWriterSpi
All Implemented Interfaces:
RegisterableService
Direct Known Subclasses:
ImageWriterSpi, ImageReaderSpi
ImageReaderSpi
and ImageWriterSpi
.
Field Summary | ||
---|---|---|
protected String[] | names | An array of strings to be returned from
getFormatNames , initially null .
Constructors should set this to a non-null value. |
protected String[] | suffixes | An array of strings to be returned from
getFileSuffixes , initially null . |
protected String[] | MIMETypes | An array of strings to be returned from
getMIMETypes , initially null . |
protected String | pluginClassName | A String containing the name of the associated
plug-in class, initially null . |
protected boolean | supportsStandardStreamMetadataFormat | A boolean indicating whether this plug-in supports the
standard metadata format for stream metadata, initially
false . |
protected String | nativeStreamMetadataFormatName | A String containing the name of the native stream
metadata format supported by this plug-in, initially
null . |
protected String | nativeStreamMetadataFormatClassName | A String containing the class name of the native
stream metadata format supported by this plug-in, initially
null . |
protected String[] | extraStreamMetadataFormatNames | An array of String s containing the names of any
additional stream metadata formats supported by this plug-in,
initially null . |
protected String[] | extraStreamMetadataFormatClassNames | An array of String s containing the class names of
any additional stream metadata formats supported by this plug-in,
initially null . |
protected boolean | supportsStandardImageMetadataFormat | A boolean indicating whether this plug-in supports the
standard metadata format for image metadata, initially
false . |
protected String | nativeImageMetadataFormatName | A String containing the name of the
native stream metadata format supported by this plug-in,
initially null . |
protected String | nativeImageMetadataFormatClassName | A String containing the class name of the
native stream metadata format supported by this plug-in,
initially null . |
protected String[] | extraImageMetadataFormatNames | An array of String s containing the names of any
additional image metadata formats supported by this plug-in,
initially null . |
protected String[] | extraImageMetadataFormatClassNames | An array of String s containing the class names of
any additional image metadata formats supported by this
plug-in, initially null . |
Fields inherited from javax.imageio.spi.IIOServiceProvider: |
---|
vendorName, version |
Constructor: |
---|
ImageReaderWriterSpi . It is up
to the subclass to initialize instance variables and/or
override method implementations in order to provide working
versions of all methods. |
ImageReaderWriterSpi with a given
set of values.
|
Method from javax.imageio.spi.ImageReaderWriterSpi Summary: |
---|
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported |
Methods from javax.imageio.spi.IIOServiceProvider: |
---|
getDescription, getVendorName, getVersion, onDeregistration, onRegistration |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.imageio.spi.ImageReaderWriterSpi Detail: |
---|
String s 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.
If the plug-in does not handle image metadata, null should be returned. The set of formats may differ according to the particular images being read or written; this method should indicate all the additional formats supported by the plug-in under any circumstances. The default implementation returns a clone of the
|
String s 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.
If the plug-in does not handle metadata, null should be returned. The set of formats may differ according to the particular images being read or written; this method should indicate all the additional formats supported by the plug-in under any circumstances. The default implementation returns a clone of the
|
String s 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. For example, a single
ImageReader might be able to process files with
'.pbm' and '.pnm' suffixes, or both '.jpg' and '.jpeg'
suffixes. If there are no known file suffixes,
null will be returned.
Returning a particular suffix does not guarantee that files with that suffix can be processed; it merely indicates that it may be worthwhile attempting to decode or encode such files using this service provider. |
String s containing
human-readable names for the formats that are generally usable
by the ImageReader or ImageWriter
implementation associated with this service provider. For
example, a single ImageReader might be able to
process both PBM and PNM files. |
IIOMetadataFormat object describing the
given image metadata format, or null if no
description is available. The supplied name must be the native
iamge metadata format name, the standard metadata format name,
or one of those returned by
getExtraImageMetadataFormatNames . |
String s 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.
Ideally, only a single MIME type would be required in order
to describe a particular format. However, for several reasons
it is necessary to associate a list of types with each service
provider. First, many common image file formats do not have
standard MIME types, so a list of commonly used unofficial
names will be required, such as Returning a particular MIME type does not guarantee that files claiming to be of that type can be processed; it merely indicates that it may be worthwhile attempting to decode or encode such files using this service provider. |
null will be returned.
The default implementation returns the
|
null will be returned.
The default implementation returns the
|
ImageReader or ImageWriter plug-in
associated with this service provider. |
IIOMetadataFormat object describing the
given stream metadata format, or null if no
description is available. The supplied name must be the native
stream metadata format name, the standard metadata format name,
or one of those returned by
getExtraStreamMetadataFormatNames . |
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. |
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. |