class SourceEditor.SourceLoader extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private BufferedReader |
reader |
private List<SourceProvider> |
sourceProviders |
private List<SourceEditor.ExtendedSourceEntry> |
sources |
private String |
url |
progressMonitor| Constructor and Description |
|---|
SourceLoader(String url,
List<SourceProvider> sourceProviders) |
| 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.
|
protected void |
warn(Exception e) |
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate final List<SourceProvider> sourceProviders
private BufferedReader reader
private boolean canceled
private final List<SourceEditor.ExtendedSourceEntry> sources
public SourceLoader(String url, List<SourceProvider> sourceProviders)
protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableSAXExceptionIOExceptionOsmTransferExceptionprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnable