org.sejda.core.writer.model
Class ImageWriterContext

java.lang.Object
  extended by org.sejda.core.writer.model.ImageWriterContext

public final class ImageWriterContext
extends Object

Image Writer Context used to get the proper ImageWriterAbstractFactory. A custom factory class can be supplied using the system property "org.sejda.image.writer.factory.class". If a custom factory class is provided and an error occur during the creation, the default factory is used.

Author:
Andrea Vacondio

Method Summary
static ImageWriterContext getContext()
           
 ImageWriterAbstractFactory getDefaultImageWriterFactory()
           
 ImageWriterAbstractFactory getImageWriterFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContext

public static ImageWriterContext getContext()

getImageWriterFactory

public ImageWriterAbstractFactory getImageWriterFactory()
Returns:
the shared instance of the ImageWriterAbstractFactory.

getDefaultImageWriterFactory

public ImageWriterAbstractFactory getDefaultImageWriterFactory()
Returns:
the shared instance of the default ImageWriterAbstractFactory.


Copyright © 2012. All Rights Reserved.