public class URLRetrieveTask extends java.lang.Object implements IRunnableTask
| Constructor and Description |
|---|
URLRetrieveTask(URLRequest request,
RetrieveListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRetrieveListener(RetrieveListener l) |
void |
cancel()
Cancels the current execution, if any, of this task.
|
void |
execute()
Executes this task's operations.
|
java.util.Vector |
getListeners() |
URLRequest |
getRequest() |
long |
getTaskTimeout()
Returns the timeout set to this task in milliseconds
|
boolean |
isRunning()
Tells if the task is on execution.
|
public URLRetrieveTask(URLRequest request, RetrieveListener listener)
public void addRetrieveListener(RetrieveListener l)
public void cancel()
IRunnableTaskcancel in interface IRunnableTaskpublic void execute()
IRunnableTaskexecute in interface IRunnableTaskpublic java.util.Vector getListeners()
public URLRequest getRequest()
public long getTaskTimeout()
IRunnableTaskgetTaskTimeout in interface IRunnableTaskpublic boolean isRunning()
IRunnableTaskisRunning in interface IRunnableTaskCopyright © 2018 gvSIG Association. All rights reserved.