class PlaceSelection.NameQueryTask extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private HttpURLConnection |
connection |
private List<PlaceSelection.SearchResult> |
data |
private Exception |
lastException |
private String |
searchExpression |
private PlaceSelection.Server |
useserver |
progressMonitor
Constructor and Description |
---|
PlaceSelection.NameQueryTask(String searchExpression) |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private String searchExpression
private HttpURLConnection connection
private List<PlaceSelection.SearchResult> data
private boolean canceled
private PlaceSelection.Server useserver
private Exception lastException
public PlaceSelection.NameQueryTask(String searchExpression)
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
SAXException
IOException
OsmTransferException