public class Dumper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Dumper.Listener |
| Constructor and Description |
|---|
Dumper(android.net.Uri uri,
java.lang.String filepath,
Dumper.Listener listener)
Create a Dumper that will download an Uri into a local filesystem path
|
public Dumper(android.net.Uri uri,
java.lang.String filepath,
Dumper.Listener listener)
uri - the Uri to dumpfilepath - local filesystem path where to dump the Urilistener - listener in order to be notified when the dump is finishedpublic void start()
public void cancel()
Dumper.Listener.onFinish(boolean) callback.