public class PersistableResumeDownload extends PersistableTransfer
| Constructor and Description |
|---|
PersistableResumeDownload() |
PersistableResumeDownload(long lastModified,
String contentLength,
String etag,
String crc64ecma,
HashMap<String,Integer> downloadedBlocks) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2023. All rights reserved.