Перенос с маленькими правками
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.eamobile.download;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class RemoteZipExtractorEvent implements IZipExtractorEvent {
|
||||
private DownloadProgress downloadProgress;
|
||||
private DownloadFileData zipFileData;
|
||||
|
||||
public RemoteZipExtractorEvent(DownloadProgress downloadProgress, DownloadFileData downloadFileData) {
|
||||
this.downloadProgress = downloadProgress;
|
||||
this.zipFileData = downloadFileData;
|
||||
}
|
||||
|
||||
@Override // com.eamobile.download.IZipExtractorEvent
|
||||
public void onExtractEntryStart(String str, long j) {
|
||||
Logging.DEBUG_OUT("RemoteZipExtractorEvent.onExtractEntryStart");
|
||||
this.downloadProgress.setCurrentFile("z_" + this.zipFileData.getFileName() + "_" + str, j);
|
||||
}
|
||||
|
||||
@Override // com.eamobile.download.IZipExtractorEvent
|
||||
public void onExtractEntryFinish() {
|
||||
Logging.DEBUG_OUT("RemoteZipExtractorEvent.onExtractEntryFinish");
|
||||
this.downloadProgress.fillCurrentFileDownload(true);
|
||||
}
|
||||
|
||||
@Override // com.eamobile.download.IZipExtractorEvent
|
||||
public void onReportProgress(int i) {
|
||||
this.downloadProgress.reportProgress(i, true);
|
||||
}
|
||||
|
||||
@Override // com.eamobile.download.IZipExtractorEvent
|
||||
public void onReportDownload(int i) {
|
||||
this.downloadProgress.reportTotalDownloaded(i);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user