org.apache.xmlgraphics.image.writer
Class AbstractImageWriter
java.lang.Object
org.apache.xmlgraphics.image.writer.AbstractImageWriter
- All Implemented Interfaces:
- ImageWriter
- Direct Known Subclasses:
- PNGImageWriter, TIFFImageWriter
public abstract class AbstractImageWriter
- extends Object
- implements ImageWriter
Abstract base class for ImageWriter implementations.
- Version:
- $Id: AbstractImageWriter.java 750418 2009-03-05 11:03:54Z vhennebert $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractImageWriter
public AbstractImageWriter()
createMultiImageWriter
public MultiImageWriter createMultiImageWriter(OutputStream out)
throws IOException
- Description copied from interface:
ImageWriter
- Creates a MultiImageWriter instance that lets you put multiple pages into a single file
if the format supports it.
- Specified by:
createMultiImageWriter
in interface ImageWriter
- Parameters:
out
- the OutputStream to write the image to
- Returns:
- the requested MultiImageWriter instance
- Throws:
IOException
- In case of an /IO problem- See Also:
ImageWriter.createMultiImageWriter(
java.io.OutputStream)
isFunctional
public boolean isFunctional()
- Specified by:
isFunctional
in interface ImageWriter
- Returns:
- true if the ImageWriter is expected to work properly in the current environment
- See Also:
ImageWriter.isFunctional()
supportsMultiImageWriter
public boolean supportsMultiImageWriter()
- Specified by:
supportsMultiImageWriter
in interface ImageWriter
- Returns:
- true if the implemented format supports multiple pages in a single file
- See Also:
ImageWriter.supportsMultiImageWriter()
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.