fr.opensagres.xdocreport.converter.internal
Class AbstractConverterNoEntriesSupport

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.AbstractConverterNoEntriesSupport
All Implemented Interfaces:
IConverter
Direct Known Subclasses:
Docx2PDFViaDocx4jConverter, Docx2XHTMLViaDocx4jConverter, ODF2PDFViaITextConverter, ODF2XHTMLConverter, XWPF2PDFViaITextConverter, XWPF2XHTMLConverter

public abstract class AbstractConverterNoEntriesSupport
extends Object
implements IConverter

Abstract class for IConverter which don't support entries input stream provider (only zipped document odt, docx...).


Constructor Summary
AbstractConverterNoEntriesSupport()
           
 
Method Summary
 boolean canSupportEntries()
          Returns true if converter can support input stream entry provider and false otherwise.
 void convert(IEntryInputStreamProvider inProvider, OutputStream out, Options options)
          Convert the given entry input stream provider document to another format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.opensagres.xdocreport.converter.IConverter
convert, getMimeMapping
 

Constructor Detail

AbstractConverterNoEntriesSupport

public AbstractConverterNoEntriesSupport()
Method Detail

convert

public void convert(IEntryInputStreamProvider inProvider,
                    OutputStream out,
                    Options options)
             throws XDocConverterException
Description copied from interface: IConverter
Convert the given entry input stream provider document to another format.

Specified by:
convert in interface IConverter
Throws:
XDocConverterException

canSupportEntries

public boolean canSupportEntries()
Description copied from interface: IConverter
Returns true if converter can support input stream entry provider and false otherwise.

Specified by:
canSupportEntries in interface IConverter
Returns:


Copyright © 2013. All rights reserved.