Class Checksums
- java.lang.Object
-
- org.apache.torque.generator.control.Checksums
-
public class Checksums extends Object
Stores Checksums and dates of the checksums, keyed by a String.- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description Checksums()
-
Method Summary
Modifier and Type Method Description byte[]
getChecksum(String name)
Map<String,byte[]>
getChecksums()
Date
getModificationDate(String name)
Map<String,Date>
getModificationDates()
Checksums
readFromFile(File toReadFrom)
Checksums
setChecksum(String name, byte[] checksum)
Checksums
setModificationDate(String name, Date modificationDate)
Checksums
writeToFile(File toWriteTo)
-
-
-
Method Detail
-
getChecksum
public byte[] getChecksum(String name)
-
writeToFile
public Checksums writeToFile(File toWriteTo) throws IOException
- Throws:
IOException
-
readFromFile
public Checksums readFromFile(File toReadFrom) throws IOException
- Throws:
IOException
-
-