xmlgraphics-commons 1.1

org.apache.xmlgraphics.image.writer
Class AbstractImageWriter

java.lang.Object
  |
  +--org.apache.xmlgraphics.image.writer.AbstractImageWriter
All Implemented Interfaces:
ImageWriter
Direct Known Subclasses:
JPEGImageWriter, PNGImageWriter, TIFFImageWriter

public abstract class AbstractImageWriter
extends java.lang.Object
implements ImageWriter

Abstract base class for ImageWriter implementations.

Version:
$Id: ImageWriter.java 426584 2006-07-28 16:01:47Z jeremias $

Constructor Summary
AbstractImageWriter()
           
 
Method Summary
 MultiImageWriter createMultiImageWriter(java.io.OutputStream out)
          Creates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it.
 boolean isFunctional()
           
 boolean supportsMultiImageWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.xmlgraphics.image.writer.ImageWriter
getMIMEType, writeImage, writeImage
 

Constructor Detail

AbstractImageWriter

public AbstractImageWriter()
Method Detail

createMultiImageWriter

public MultiImageWriter createMultiImageWriter(java.io.OutputStream out)
                                        throws java.io.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
See Also:
ImageWriter.createMultiImageWriter( java.io.OutputStream)

isFunctional

public boolean isFunctional()
Specified by:
isFunctional in interface ImageWriter
See Also:
ImageWriter.isFunctional()

supportsMultiImageWriter

public boolean supportsMultiImageWriter()
Specified by:
supportsMultiImageWriter in interface ImageWriter
See Also:
ImageWriter.supportsMultiImageWriter()

xmlgraphics-commons 1.1

Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.