|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageReaderWriterSpi
javax.imageio.spi.ImageWriterSpi
org.geotools.image.io.StreamImageWriter.Spi
public abstract static class StreamImageWriter.Spi
Service provider interface (SPI) for StreamImageWriter
s.
Field Summary |
---|
Fields inherited from class javax.imageio.spi.ImageWriterSpi |
---|
outputTypes, readerSpiNames, STANDARD_OUTPUT_TYPE |
Fields inherited from class javax.imageio.spi.ImageReaderWriterSpi |
---|
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormat |
Fields inherited from class javax.imageio.spi.IIOServiceProvider |
---|
vendorName, version |
Constructor Summary | |
---|---|
StreamImageWriter.Spi()
Constructs a quasi-blank StreamImageWriter.Spi . |
Method Summary | |
---|---|
boolean |
canEncodeImage(javax.imageio.ImageTypeSpecifier type)
Returns true if the image writer implementation associated with this service
provider is able to encode an image with the given layout. |
Methods inherited from class javax.imageio.spi.ImageWriterSpi |
---|
canEncodeImage, createWriterInstance, createWriterInstance, getImageReaderSpiNames, getOutputTypes, isFormatLossless, isOwnWriter |
Methods inherited from class javax.imageio.spi.ImageReaderWriterSpi |
---|
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported |
Methods inherited from class javax.imageio.spi.IIOServiceProvider |
---|
getDescription, getVendorName, getVersion, onDeregistration, onRegistration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamImageWriter.Spi()
StreamImageWriter.Spi
. It is up to the subclass to
initialize instance variables in order to provide working versions of all methods.
This constructor provides the following defaults:
ImageWriterSpi.outputTypes
= {File
, URL
, URLConnection
,
OutputStream
, ImageOutputStream
, String
}
Method Detail |
---|
public boolean canEncodeImage(javax.imageio.ImageTypeSpecifier type)
true
if the image writer implementation associated with this service
provider is able to encode an image with the given layout. The default implementation
returns always true
, which is accurate if the writer will fetch pixel values
with the help of an iterator.
canEncodeImage
in class javax.imageio.spi.ImageWriterSpi
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |