Class DownloadController
- java.lang.Object
-
- it.unipd.dei.eis.domain.controllers.Controller
-
- it.unipd.dei.eis.domain.controllers.DownloadController
-
public class DownloadController extends Controller
The DownloadController class is the controller for the download use case. It is used to retrieve data from a source and write them to a file.
-
-
Field Summary
-
Fields inherited from class it.unipd.dei.eis.domain.controllers.Controller
name
-
-
Constructor Summary
Constructors Constructor Description DownloadController()DownloadController constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Either<Failure,Success>execute(Context context)The execute method is used to retrieve data from a source and write them to a file.
-