public class PersistableResumeDownload extends PersistableTransfer
| 构造器和说明 |
|---|
PersistableResumeDownload() |
PersistableResumeDownload(long lastModified,
String contentLength,
String etag,
String crc64ecma,
HashMap<String,Integer> downloadedBlocks) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dump() |
File |
getDumpFile() |
boolean |
hasDownloadedBlocks(String block)
Return true if block is in downloadedBlocks, false else.
|
void |
putDownloadedBlocks(String block)
Put a downloaded block.
|
void |
reset() |
void |
setDumpFile(File dumpFile) |
deserializeFrom, deserializeFrom, serialize, serializepublic void putDownloadedBlocks(String block)
block - public boolean hasDownloadedBlocks(String block)
block - public void reset()
public void setDumpFile(File dumpFile)
public File getDumpFile()
Copyright © 2021. All rights reserved.