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 with a given
set of values.

Constructs an
ImageReaderWriterSpi with a given
set of values.
Parameters:
-
vendorName - the vendor name, as a non-
null
String.
-
version - a version identifier, as a non-
null
String.
-
names - a non-
null array of
Strings indicating the format names. At least one
entry must be present.
-
suffixes - an array of
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.
-
MIMETypes - an array of
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.
-
pluginClassName - the fully-qualified name of the
associated
ImageReader or
ImageWriter
class, as a non-
null String.
-
supportsStandardStreamMetadataFormat - a
boolean that indicates whether a stream metadata
object can use trees described by the standard metadata format.
-
nativeStreamMetadataFormatName - a
String, or
null, to be returned from
getNativeStreamMetadataFormatName.
-
nativeStreamMetadataFormatClassName - a
String, or
null, to be used to instantiate
a metadata format object to be returned from
getNativeStreamMetadataFormat.
-
extraStreamMetadataFormatNames - an array of
Strings, or
null, to be returned from
getExtraStreamMetadataFormatNames. An array of length
0 is normalized to
null.
-
extraStreamMetadataFormatClassNames - an array of
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.
-
supportsStandardImageMetadataFormat - a
boolean that indicates whether an image metadata
object can use trees described by the standard metadata format.
-
nativeImageMetadataFormatName - a
String, or
null, to be returned from
getNativeImageMetadataFormatName.
-
nativeImageMetadataFormatClassName - a
String, or
null, to be used to instantiate
a metadata format object to be returned from
getNativeImageMetadataFormat.
-
extraImageMetadataFormatNames - an array of
Strings to be returned from
getExtraImageMetadataFormatNames. An array of length 0
is normalized to
null.
-
extraImageMetadataFormatClassNames - an array of
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.
Throws:
-
IllegalArgumentException - if
vendorName
is
null.
-
IllegalArgumentException - if
version
is
null.
-
IllegalArgumentException - if
names
is
null or has length 0.
-
IllegalArgumentException - if
pluginClassName
is
null.