public class ParityFileTool extends Object
Modifier and Type | Field and Description |
---|---|
int |
blockSize |
int |
cacheBlockCount |
int |
max_rate |
Constructor and Description |
---|
ParityFileTool() |
ParityFileTool(String[] args) |
Modifier and Type | Method and Description |
---|---|
void |
createParityFile(Collection<File> inputFiles,
File parityFile) |
void |
createParityFile(Collection<File> inputFiles,
File parityFile,
Map<File,String> md5Sums) |
void |
createParityFile(Collection<File> inputFiles,
File parityFile,
Map<File,String> md5Sums,
long outputSize) |
int |
getBlockSize() |
int |
getCacheBlockCount() |
static void |
main(String[] args) |
void |
setBlockSize(int blockSize) |
void |
setCacheBlockCount(int cacheBlockCount) |
void |
setMaxRate(int rate) |
public int max_rate
public int blockSize
public int cacheBlockCount
public ParityFileTool(String[] args)
public ParityFileTool()
public static void main(String[] args)
args
- public void setMaxRate(int rate)
public int getBlockSize()
public int getCacheBlockCount()
public void setBlockSize(int blockSize)
public void setCacheBlockCount(int cacheBlockCount)
public void createParityFile(Collection<File> inputFiles, File parityFile)
public void createParityFile(Collection<File> inputFiles, File parityFile, Map<File,String> md5Sums)