public abstract class AbstractConverter extends AbstractComponent implements Converter
supportedDocumentClasses| Constructor and Description |
|---|
AbstractConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(Document document,
OutputStream outputStream)
Converts a given document and output results in provided output stream.
|
protected abstract void |
run(Document document,
OutputStream outputStream) |
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopySettings, extractSettingspublic void convert(Document document, OutputStream outputStream) throws IOException, ConverterException, DocumentException
Converterconvert in interface Converterdocument - Document to convert. Document type may or may no be supported
(support left to the convert final implementation).outputStream - Output stream where converted document is written.IOExceptionConverterExceptionDocumentExceptionprotected abstract void run(Document document, OutputStream outputStream) throws IOException, ConverterException, DocumentException
Copyright © 2016. All Rights Reserved.