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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getChecksum(String name)Map<String,byte[]>getChecksums()DategetModificationDate(String name)Map<String,Date>getModificationDates()ChecksumsreadFromFile(File toReadFrom)ChecksumssetChecksum(String name, byte[] checksum)ChecksumssetModificationDate(String name, Date modificationDate)ChecksumswriteToFile(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
-
-