org.sejda.core.writer.model
Interface ImageWriterAbstractFactory


public interface ImageWriterAbstractFactory

Abstract factory to create ImageWriters. Implementations of this interface must be thread safe since the factory instance is going to be shared among the tasks using it.

Author:
Andrea Vacondio

Method Summary
<T extends AbstractPdfToImageParameters>
ImageWriter<T>
createImageWriter(T params)
          creates a new ImageWriter instance capable of writing images according to the input task parameters class.
 

Method Detail

createImageWriter

<T extends AbstractPdfToImageParameters> ImageWriter<T> createImageWriter(T params)
creates a new ImageWriter instance capable of writing images according to the input task parameters class.

Type Parameters:
T - task parameters
Parameters:
params -
Returns:
an ImageWriter which can write images for the input task parameters or null if no writer suitable for the given parameters is found.


Copyright © 2012. All Rights Reserved.