public abstract class AbstractRemoteConverter extends AbstractRemoteComponent implements RemoteConverter
maxProcessCount, processCountsupportedDocumentClasses| Constructor and Description |
|---|
AbstractRemoteConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(Document document,
OutputStream outputStream)
Converts a given document and output results in provided output stream.
|
byte[] |
remoteConvert(Document document) |
protected abstract void |
run(Document document,
OutputStream outputStream) |
protected static void |
startRemoteConverter(RemoteConverter remoteConverter)
Starts a remote converter server.
|
buildJavaFork, getMaxProcessCount, getProcessCount, getRemoteComponent, isStandAloneModeSupported, setMaxProcessCount, startRemoteServer, waitForFreeProcessassertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMaxProcessCountcopySettings, extractSettingsprotected abstract void run(Document document, OutputStream outputStream) throws IOException, ConverterException, DocumentException
protected static void startRemoteConverter(RemoteConverter remoteConverter) throws ConverterException
remoteConverter - ConverterExceptionpublic byte[] remoteConvert(Document document) throws IOException, ConverterException, DocumentException
public 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.IOExceptionConverterExceptionDocumentExceptionCopyright © 2016. All Rights Reserved.