Class AbstractImageWriter
java.lang.Object
org.apache.xmlgraphics.image.writer.AbstractImageWriter
- All Implemented Interfaces:
ImageWriter
- Direct Known Subclasses:
PNGImageWriter,TIFFImageWriter
Abstract base class for ImageWriter implementations.
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it.booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.xmlgraphics.image.writer.ImageWriter
getMIMEType, writeImage, writeImage
-
Constructor Details
-
AbstractImageWriter
public AbstractImageWriter()
-
-
Method Details
-
createMultiImageWriter
Description copied from interface:ImageWriterCreates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it.- Specified by:
createMultiImageWriterin interfaceImageWriter- Parameters:
out- the OutputStream to write the image to- Returns:
- the requested MultiImageWriter instance
- Throws:
IOException- In case of an /IO problem- See Also:
-
isFunctional
public boolean isFunctional()- Specified by:
isFunctionalin interfaceImageWriter- Returns:
- true if the ImageWriter is expected to work properly in the current environment
- See Also:
-
supportsMultiImageWriter
public boolean supportsMultiImageWriter()- Specified by:
supportsMultiImageWriterin interfaceImageWriter- Returns:
- true if the implemented format supports multiple pages in a single file
- See Also:
-