com.partnersoft.v3x.apps.Propagate
Class ChecksumGenerator

java.lang.Object
  extended by com.partnersoft.v3x.apps.Propagate.ChecksumGenerator

public class ChecksumGenerator
extends java.lang.Object

Generates a checksum for all files in a tree.


Constructor Summary
ChecksumGenerator()
           
 
Method Summary
static void generateChecksums(java.io.File rootDir, java.lang.String packageName)
           
static void generateChecksums(java.io.File rootDir, java.lang.String packageName, boolean verbose)
           
static void generateChecksumsForPackage(java.io.File rootDir, java.lang.String packageName, InstallPackage IP, boolean verbose)
           
static void main(java.lang.String[] argv)
           
static void recursion(java.io.File root, java.lang.String currentFilename, ChecksumDatafile datafile, java.lang.String type, boolean verbose)
           
 void runImp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChecksumGenerator

public ChecksumGenerator()
Method Detail

main

public static void main(java.lang.String[] argv)

runImp

public void runImp()

generateChecksums

public static void generateChecksums(java.io.File rootDir,
                                     java.lang.String packageName)
                              throws java.io.IOException
Throws:
java.io.IOException

generateChecksums

public static void generateChecksums(java.io.File rootDir,
                                     java.lang.String packageName,
                                     boolean verbose)
                              throws java.io.IOException
Throws:
java.io.IOException

generateChecksumsForPackage

public static void generateChecksumsForPackage(java.io.File rootDir,
                                               java.lang.String packageName,
                                               InstallPackage IP,
                                               boolean verbose)
                                        throws java.io.IOException
Throws:
java.io.IOException

recursion

public static void recursion(java.io.File root,
                             java.lang.String currentFilename,
                             ChecksumDatafile datafile,
                             java.lang.String type,
                             boolean verbose)
                      throws java.io.IOException
Throws:
java.io.IOException