org.pdfsam.guiclient.commons.business.loaders
Class PdfLoaderExecutor

java.lang.Object
  extended by org.pdfsam.guiclient.commons.business.loaders.PdfLoaderExecutor

public class PdfLoaderExecutor
extends java.lang.Object

Executor that executes the load and reload threads

Author:
Andrea Vacondio

Constructor Summary
PdfLoaderExecutor()
           
 
Method Summary
 void execute(AddPdfDocument callable, PdfDocumentLoadedHook hook)
          Submit the callable for execution
 boolean isExecuting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfLoaderExecutor

public PdfLoaderExecutor()
Method Detail

execute

public void execute(AddPdfDocument callable,
                    PdfDocumentLoadedHook hook)
Submit the callable for execution

Parameters:
callable -
hook - hook to be executed after the document has been loaded. Can be null.

isExecuting

public boolean isExecuting()
Returns:
true if the executor is executing Callable