fr.opensagres.xdocreport.converter.internal
Class AbstractConverterEntriesSupport

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.AbstractConverterEntriesSupport
All Implemented Interfaces:
IConverter
Direct Known Subclasses:
AbstractXSLTConverter

public abstract class AbstractConverterEntriesSupport
extends Object
implements IConverter

Abstract class for IConverter which support entries input stream provider.


Constructor Summary
AbstractConverterEntriesSupport()
           
 
Method Summary
 boolean canSupportEntries()
          Returns true if converter can support input stream entry provider and false otherwise.
 void convert(InputStream in, OutputStream out, Options options)
          Convert the given entry input stream document zipped (odt, docx...) 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

AbstractConverterEntriesSupport

public AbstractConverterEntriesSupport()
Method Detail

convert

public void convert(InputStream in,
                    OutputStream out,
                    Options options)
             throws XDocConverterException
Description copied from interface: IConverter
Convert the given entry input stream document zipped (odt, docx...) 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.