Package org.luwrain.core
Class EmptyFileFetching
java.lang.Object
org.luwrain.core.EmptyFileFetching
- All Implemented Interfaces:
FileFetcher.Fetching
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEmptyFileFetching
(String destFile, String srcUrl) EmptyFileFetching
(String destFile, String srcUrl, float progress, boolean completed) -
Method Summary
-
Field Details
-
destFile
-
srcUrl
-
progress
protected float progress -
completed
protected boolean completed
-
-
Constructor Details
-
EmptyFileFetching
-
EmptyFileFetching
-
-
Method Details
-
progress
public void progress(float progress) -
completed
public void completed() -
getProgress
public float getProgress()- Specified by:
getProgress
in interfaceFileFetcher.Fetching
-
isCompleted
public boolean isCompleted()- Specified by:
isCompleted
in interfaceFileFetcher.Fetching
-
getDestinationFile
- Specified by:
getDestinationFile
in interfaceFileFetcher.Fetching
-
getSourceUrl
- Specified by:
getSourceUrl
in interfaceFileFetcher.Fetching
-