com.notuvy.file
Class FileCompare

java.lang.Object
  extended by com.notuvy.file.FileCompare
All Implemented Interfaces:
Runnable

public class FileCompare
extends Object
implements Runnable

A utility to copy files.

Version:
$Id: Sample.java,v 1.1 2006/06/07 03:29:59 murali Exp $
Author:
murali

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
FileCompare(File pSource, File pDestination)
           
 
Method Summary
protected  void doComparison()
           
 File getDestination()
           
protected  boolean getFilesAreSame()
           
 File getSource()
           
protected  boolean getUncompared()
           
 boolean isSame()
           
 void run()
           
protected  void setFilesAreSame(boolean pFilesAreSame)
           
protected  void setUncompared(boolean pUncompared)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

FileCompare

public FileCompare(File pSource,
                   File pDestination)
Method Detail

getSource

public File getSource()

getDestination

public File getDestination()

getFilesAreSame

protected boolean getFilesAreSame()

getUncompared

protected boolean getUncompared()

setFilesAreSame

protected void setFilesAreSame(boolean pFilesAreSame)

setUncompared

protected void setUncompared(boolean pUncompared)

doComparison

protected void doComparison()
                     throws IOException
Throws:
IOException

isSame

public boolean isSame()

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.