public class LibreOfficeConversionWorker extends StreamWorker<LibreOfficeConversionNode>
LibreOfficeConversionNode
.
Be aware of the class path issue described in
LibreOfficeConversionNode
!
Constructor and Description |
---|
LibreOfficeConversionWorker() |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Indicate that any current work should be aborted.
|
protected void |
forceShutdown(Thread workerThread) |
LibreOfficeInstancePool |
getInstancePool() |
void |
initialize()
Create a temp working directory
|
void |
setInstancePool(LibreOfficeInstancePool instancePool)
Set the
LibreOfficeInstancePool . |
protected void |
storeDocComponent(XComponent xDoc,
String storeUrl) |
protected void |
work(Stream stream)
Implement this method in order to work on a single stream.
|
accept, reject, work
abortNow, addInputBundle, addOuputBundle, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getStreamTransportFactory, getTransportSender, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, warn, warn, warn
public void initialize() throws JobException
initialize
in class NodeWorker<LibreOfficeConversionNode>
JobException
protected void work(Stream stream) throws Throwable
StreamWorker
work
in class StreamWorker<LibreOfficeConversionNode>
Throwable
public void abort()
NodeWorker
abort
in class NodeWorker<LibreOfficeConversionNode>
protected void storeDocComponent(XComponent xDoc, String storeUrl) throws Exception
Exception
protected void forceShutdown(Thread workerThread)
public LibreOfficeInstancePool getInstancePool()
public void setInstancePool(LibreOfficeInstancePool instancePool)
LibreOfficeInstancePool
. Usually done in Spring XML configurationinstancePool
- an LibreOfficeInstancePoolCopyright © 2016 levigo holding gmbh. All rights reserved.