-
public class Dumper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
Dumper.Listener
-
Constructor Summary
Constructors Constructor Description Dumper(Uri uri, String filepath, Dumper.Listener listener)
Create a Dumper that will download an Uri into a local filesystem path
-
Method Summary
-
-
Constructor Detail
-
Dumper
Dumper(Uri uri, String filepath, Dumper.Listener listener)
Create a Dumper that will download an Uri into a local filesystem path- Parameters:
uri
- the Uri to dumpfilepath
- local filesystem path where to dump the Urilistener
- listener in order to be notified when the dump is finished
-
-
Method Detail
-
start
@MainThread() void start()
Start to dump
-
cancel
@MainThread() void cancel()
Cancel the dump of the Uri.Don't call this method if you already received the onFinish callback.
-
-
-
-