org.curjent.example.agent.filecopy
Class FileVerifyTask

java.lang.Object
  extended by org.curjent.example.agent.filecopy.FileVerifyTask

 class FileVerifyTask
extends Object

The verification task computes the checksums of two files and logs the success or failure of the comparison.


Constructor Summary
FileVerifyTask()
           
 
Method Summary
private  long check(String file)
           
(package private)  void verify(String source, String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileVerifyTask

FileVerifyTask()
Method Detail

verify

void verify(String source,
            String target)

check

private long check(String file)
            throws IOException
Throws:
IOException


Copyright 2009-2011 Tom Landon
Apache License 2.0