public class FileMaker extends Object
| Constructor and Description |
|---|
FileMaker() |
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
findMissingRanges(File inputFile,
File metafile)
Determine what ranges need to be provided to sync the file.
|
File |
make(File inputFile,
File metafile,
RangeLoader rangeLoader) |
public File make(File inputFile, File metafile, RangeLoader rangeLoader) throws Exception
inputFile - - the "local" file, containing data which needs to be
merged with that on the servermetafile - - meta file, containing headers and checksums of the
"remote", generated by MetaFileMakerrangeLoader - - accessor object, to get the binary data of the
"remote" fileExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.