org.xnap.commons.io
Class JobExecutor
java.lang.Object
org.xnap.commons.io.JobExecutor
public class JobExecutor
- extends Object
Provides static helper methods for executing Job
objects.
- Author:
- Steffen Pingel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobExecutor
public JobExecutor()
callable
public static <T> Callable<T> callable(Job<T> job,
ProgressMonitor monitor)
run
public static <T> T run(String title,
Job<T> job)
throws Exception
- Throws:
Exception
run
public static <T> T run(JDialog owner,
String title,
Job<T> job)
throws Exception
- Throws:
Exception
run
public static <T> T run(JFrame owner,
String title,
Job<T> job)
throws Exception
- Throws:
Exception
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.