com.zeroturnaround.liverebel.util
Class ZipEntriesCheckSumCalculator
java.lang.Object
com.zeroturnaround.liverebel.util.ZipEntriesCheckSumCalculator
- All Implemented Interfaces:
- org.zeroturnaround.zip.ZipEntryCallback
public class ZipEntriesCheckSumCalculator
- extends Object
- implements org.zeroturnaround.zip.ZipEntryCallback
Calculates MD5 checksum based on each ZipEntry
- Author:
- Ats Uiboupin
- See Also:
getChecksumsByEntryName()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checksumsByEntryName
protected final Map<String,String> checksumsByEntryName
ZipEntriesCheckSumCalculator
public ZipEntriesCheckSumCalculator()
ZipEntriesCheckSumCalculator
public ZipEntriesCheckSumCalculator(Map<String,String> checksumsByEntryName)
process
public void process(InputStream in,
ZipEntry zipEntry)
throws IOException
- Specified by:
process in interface org.zeroturnaround.zip.ZipEntryCallback
- Throws:
IOException
getChecksumsByEntryName
public Map<String,String> getChecksumsByEntryName()
Copyright © 2013. All Rights Reserved.