ImageReaderSpi and ImageWriterSpi.
IIORegistry, ImageReaderSpi, ImageWriterSpi
| Modifier and Type | Field and Description |
|---|---|
| protected String[] | extraImageMetadataFormatClassNames
An array of |
| protected String[] | extraImageMetadataFormatNames
An array of |
| protected String[] | extraStreamMetadataFormatClassNames
An array of |
| protected String[] | extraStreamMetadataFormatNames
An array of |
| protected String[] | MIMETypes
An array of strings to be returned from
|
| protected String[] | names
An array of strings to be returned from
|
| protected String | nativeImageMetadataFormatClassName
A |
| protected String | nativeImageMetadataFormatName
A |
| protected String | nativeStreamMetadataFormatClassName
A |
| protected String | nativeStreamMetadataFormatName
A |
| protected String | pluginClassName
A |
| protected String[] | suffixes
An array of strings to be returned from
|
| protected boolean | supportsStandardImageMetadataFormat
A boolean indicating whether this plug-in supports the
standard metadata format for image metadata, initially
|
| protected boolean | supportsStandardStreamMetadataFormat
A boolean indicating whether this plug-in supports the
standard metadata format for stream metadata, initially
|
| Access | Constructor and Description |
|---|---|
| public | ImageReaderWriterSpi(String
the vendor name, as a non- vendorName, String null
String.a version identifier, as a non- version, String[] null
String.a non- names, String[] null array of
Strings indicating the format names. At least one
entry must be present.an array of suffixes, String[] Strings indicating the
common file suffixes. If no suffixes are defined,
null should be supplied. An array of length 0
will be normalized to null.an array of MIMETypes, String Strings indicating
the format's MIME types. If no MIME types are defined,
null should be supplied. An array of length 0
will be normalized to null.the fully-qualified name of the
associated pluginClassName, boolean ImageReader or ImageWriter
class, as a non-null String.a
supportsStandardStreamMetadataFormat, String boolean that indicates whether a stream metadata
object can use trees described by the standard metadata format.a
nativeStreamMetadataFormatName, String String, or null, to be returned from
getNativeStreamMetadataFormatName.a
nativeStreamMetadataFormatClassName, String[] String, or null, to be used to instantiate
a metadata format object to be returned from
getNativeStreamMetadataFormat.an array of
extraStreamMetadataFormatNames, String[] Strings, or null, to be returned from
getExtraStreamMetadataFormatNames. An array of length
0 is normalized to null.an array of
extraStreamMetadataFormatClassNames, boolean Strings, or null, to be used to instantiate
a metadata format object to be returned from
getStreamMetadataFormat. An array of length
0 is normalized to null.a
supportsStandardImageMetadataFormat, String boolean that indicates whether an image metadata
object can use trees described by the standard metadata format.a
nativeImageMetadataFormatName, String String, or null, to be returned from
getNativeImageMetadataFormatName.a
nativeImageMetadataFormatClassName, String[] String, or null, to be used to instantiate
a metadata format object to be returned from
getNativeImageMetadataFormat.an array of
extraImageMetadataFormatNames, String[] Strings to be returned from
getExtraImageMetadataFormatNames. An array of length 0
is normalized to null.an array of
extraImageMetadataFormatClassNames)Strings, or null, to be used to instantiate
a metadata format object to be returned from
getImageMetadataFormat. An array of length
0 is normalized to null.Constructs an |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: an array ofStrings, or null.Returns an array of If the plug-in does not handle image metadata, null should be returned. |
| public String[] | Returns: an array ofStrings, or null.Returns an array of If the plug-in does not handle metadata, null should be returned. |
| public String[] | Returns: an array ofStrings or length at least 1
containing common file suffixes associated with this reader or
writer, or null.Returns an array of |
| public String[] | Returns: a non-null array of Strings
or length at least 1 containing informal format names
associated with this reader or writer.Returns an array of |
| public IIOMetadataFormat | Returns: anIIOMetadataFormat object.the desired image metadata format. formatName)Returns an |
| private IIOMetadataFormat | |
| private Class | |
| public String[] | Returns: an array ofStrings or length at least 1
containing MIME types associated with this reader or writer, or
null.Returns an array of |
| public String | Returns: the name of the native image metadata format, ornull.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. If no such format is supported,
|
| public String | Returns: the name of the native stream metadata format, ornull.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. If no such format is supported,
|
| public String | Returns: the class name, as a non-null
String.Returns the fully-qualified class name of the
|
| public IIOMetadataFormat | Returns: anIIOMetadataFormat object.the desired stream metadata format. formatName)Returns an |
| public boolean | Returns: true if the standard format is supported
for image metadata.Returns |
| public boolean | Returns: true if the standard format is supported
for stream metadata.Returns |
| extraImageMetadataFormatClassNames | back to summary |
|---|---|
| protected String[] extraImageMetadataFormatClassNames An array of | |
| extraImageMetadataFormatNames | back to summary |
|---|---|
| protected String[] extraImageMetadataFormatNames An array of | |
| extraStreamMetadataFormatClassNames | back to summary |
|---|---|
| protected String[] extraStreamMetadataFormatClassNames An array of | |
| extraStreamMetadataFormatNames | back to summary |
|---|---|
| protected String[] extraStreamMetadataFormatNames An array of | |
| MIMETypes | back to summary |
|---|---|
| protected String[] MIMETypes An array of strings to be returned from
| |
| names | back to summary |
|---|---|
| protected String[] names An array of strings to be returned from
| |
| nativeImageMetadataFormatClassName | back to summary |
|---|---|
| protected String nativeImageMetadataFormatClassName A | |
| nativeImageMetadataFormatName | back to summary |
|---|---|
| protected String nativeImageMetadataFormatName A | |
| nativeStreamMetadataFormatClassName | back to summary |
|---|---|
| protected String nativeStreamMetadataFormatClassName A | |
| nativeStreamMetadataFormatName | back to summary |
|---|---|
| protected String nativeStreamMetadataFormatName A | |
| pluginClassName | back to summary |
|---|---|
| protected String pluginClassName A | |
| suffixes | back to summary |
|---|---|
| protected String[] suffixes An array of strings to be returned from
| |
| supportsStandardImageMetadataFormat | back to summary |
|---|---|
| protected boolean supportsStandardImageMetadataFormat A boolean indicating whether this plug-in supports the
standard metadata format for image metadata, initially
| |
| supportsStandardStreamMetadataFormat | back to summary |
|---|---|
| protected boolean supportsStandardStreamMetadataFormat A boolean indicating whether this plug-in supports the
standard metadata format for stream metadata, initially
| |
| ImageReaderWriterSpi | back to summary |
|---|---|
| public ImageReaderWriterSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String pluginClassName, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames) Constructs an
| |
| ImageReaderWriterSpi | back to summary |
|---|---|
| public ImageReaderWriterSpi() Constructs a blank | |
| getExtraImageMetadataFormatNames | back to summary |
|---|---|
| public String[] getExtraImageMetadataFormatNames() Returns an array of 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
| |
| getExtraStreamMetadataFormatNames | back to summary |
|---|---|
| public String[] getExtraStreamMetadataFormatNames() Returns an array of 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
| |
| getFileSuffixes | back to summary |
|---|---|
| public String[] getFileSuffixes() Returns an array of 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.
| |
| getFormatNames | back to summary |
|---|---|
| public String[] getFormatNames() Returns an array of
| |
| getImageMetadataFormat | back to summary |
|---|---|
| public IIOMetadataFormat getImageMetadataFormat(String formatName) Returns an
| |
| getMetadataFormat | back to summary |
|---|---|
| private IIOMetadataFormat getMetadataFormat(String formatName, boolean supportsStandard, String nativeName, String nativeClassName, String[] extraNames, String[] extraClassNames) | |
| getMetadataFormatClass | back to summary |
|---|---|
| private Class | |
| getMIMETypes | back to summary |
|---|---|
| public String[] getMIMETypes() Returns an array of 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.
| |
| getNativeImageMetadataFormatName | back to summary |
|---|---|
| public String getNativeImageMetadataFormatName() 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. If no such format is supported,
The default implementation returns the
| |
| getNativeStreamMetadataFormatName | back to summary |
|---|---|
| public String getNativeStreamMetadataFormatName() 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. If no such format is supported,
The default implementation returns the
| |
| getPluginClassName | back to summary |
|---|---|
| public String getPluginClassName() Returns the fully-qualified class name of the
| |
| getStreamMetadataFormat | back to summary |
|---|---|
| public IIOMetadataFormat getStreamMetadataFormat(String formatName) Returns an
| |
| isStandardImageMetadataFormatSupported | back to summary |
|---|---|
| public boolean isStandardImageMetadataFormatSupported() Returns
| |
| isStandardStreamMetadataFormatSupported | back to summary |
|---|---|
| public boolean isStandardStreamMetadataFormatSupported() Returns
| |