org.apache.avalon.phoenix.components.deployer.installer
Class FileDigest
java.lang.Object
|
+--org.apache.avalon.phoenix.components.deployer.installer.FileDigest
- public class FileDigest
- extends Object
FileDigest holds file deployment information. Information
used to verify if file was modified since deployment.
- Version:
- $Revision: 1.2 $ $Date: 2002/07/26 09:49:20 $
Constructor Summary |
FileDigest(File file,
long checksum)
Create a new FileDigest object. |
Method Summary |
long |
getChecksum()
Retrieve the checksum calculated at deployment time. |
File |
getFile()
Retrieve the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDigest
public FileDigest(File file,
long checksum)
- Create a new FileDigest object.
- Parameters:
file
- the file.checksum
- the checksum value of the file.
getFile
public File getFile()
- Retrieve the file.
- Returns:
- the file.
getChecksum
public long getChecksum()
- Retrieve the checksum calculated at deployment time.
- Returns:
- the checksum value.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.