org.apache.pivot.wtk.media
Class Image.LoadTask
java.lang.Object
org.apache.pivot.util.concurrent.Task<V>
org.apache.pivot.io.IOTask<Image>
org.apache.pivot.wtk.media.Image.LoadTask
- Enclosing class:
- Image
public static class Image.LoadTask
- extends org.apache.pivot.io.IOTask<Image>
Task that executes an image load operation.
| Nested classes/interfaces inherited from class org.apache.pivot.io.IOTask |
org.apache.pivot.io.IOTask.MonitoredInputStream, org.apache.pivot.io.IOTask.MonitoredOutputStream |
| Fields inherited from class org.apache.pivot.io.IOTask |
bytesReceived, bytesSent |
| Fields inherited from class org.apache.pivot.util.concurrent.Task |
abort, DEFAULT_EXECUTOR_SERVICE, timeout |
| Methods inherited from class org.apache.pivot.util.concurrent.Task |
abort, execute, execute, getExecutorService, getFault, getResult, getTimeout, isPending, setTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Image.LoadTask
public Image.LoadTask(URL location)
Image.LoadTask
public Image.LoadTask(URL location,
ExecutorService executorService)
getLocation
public URL getLocation()
execute
public Image execute()
throws org.apache.pivot.util.concurrent.TaskExecutionException
- Specified by:
execute in class org.apache.pivot.util.concurrent.Task<Image>
- Throws:
org.apache.pivot.util.concurrent.TaskExecutionException