public interface OfficeManager
OfficeTask
. An office manager must be started
before performing conversion tasks and must be stopped once it is no longer required. Once
stopped, an office manager cannot be restarted.void execute(OfficeTask task) throws OfficeException
task
- The task to execute.OfficeException
- If an error occurs.boolean isRunning()
true
if the manager is running, false
otherwise.void start() throws OfficeException
OfficeException
- If the manager cannot be started.void stop() throws OfficeException
OfficeException
- If the manager cannot be stopped.