public interface BxFileWriterListener<C>
Modifier and Type | Method and Description |
---|---|
void |
cancel(C owner,
String fileName,
Bx5GException ex)
取消文件写入。
|
void |
done(C owner)
完成所有文件写入。
|
void |
fileFinish(C owner,
String fileName,
int total)
完成新文件写入。
|
void |
fileWriting(C owner,
String fileName,
int total)
开始新文件写入。
|
void |
progressChanged(C owner,
String fileName,
int write,
int total)
更新文件写入进度。
|
void fileWriting(C owner, String fileName, int total)
owner
- 驱动。fileName
- 文件名称。total
- 文件位元数。void fileFinish(C owner, String fileName, int total)
owner
- 驱动。fileName
- 文件名称。total
- 文件位元数。void progressChanged(C owner, String fileName, int write, int total)
owner
- 驱动。fileName
- 文件名称。write
- 已写入位元数。total
- 文件位元数。void cancel(C owner, String fileName, Bx5GException ex)
owner
- 驱动。fileName
- 文件名称。ex
- 造成作业取消时的异常。void done(C owner)
owner
- 驱动。Copyright © 2020 onbon4j. All rights reserved.