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.

Constructs an
ImageReaderSpi 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.
-
readerClassName - the fully-qualified name of the
associated
ImageReader class, as a
non-
null String.
-
inputTypes - a non-
null array of
Class objects of length at least 1 indicating the
legal input types.
-
writerSpiNames - an array
Strings naming the
classes of all associated
ImageWriters, or
null. An array of length 0 is normalized to
null.
-
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
readerClassName
is
null.
-
IllegalArgumentException - if
inputTypes
is
null or has length 0.