net.sf.jfilesync.engine
Class TFileCompareStatus

java.lang.Object
  extended by net.sf.jfilesync.engine.TFileCompareStatus

public class TFileCompareStatus
extends java.lang.Object


Field Summary
private  boolean differ
           
private  TFileProperties file
           
static int FILE_ORPHAN
           
private static int ORPHAN_STAT
           
static int SIZE_GREATER
           
static int SIZE_LESS
           
private static int SIZE_STAT
           
private  int[] status
           
static int TIME_NEWER
           
static int TIME_OLDER
           
private static int TIME_STAT
           
 
Constructor Summary
TFileCompareStatus(TFileProperties file)
           
 
Method Summary
 void addDifference(int property)
           
 TFileProperties getFile()
           
 int getSizeStat()
           
 int getTimeStat()
           
 boolean hasLessSize()
           
 boolean isEqual()
           
 boolean isNewer()
           
 boolean isOrphan()
           
 void setOrphan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIME_NEWER

public static final int TIME_NEWER
See Also:
Constant Field Values

TIME_OLDER

public static final int TIME_OLDER
See Also:
Constant Field Values

FILE_ORPHAN

public static final int FILE_ORPHAN
See Also:
Constant Field Values

SIZE_LESS

public static final int SIZE_LESS
See Also:
Constant Field Values

SIZE_GREATER

public static final int SIZE_GREATER
See Also:
Constant Field Values

differ

private boolean differ

file

private TFileProperties file

TIME_STAT

private static final int TIME_STAT
See Also:
Constant Field Values

SIZE_STAT

private static final int SIZE_STAT
See Also:
Constant Field Values

ORPHAN_STAT

private static final int ORPHAN_STAT
See Also:
Constant Field Values

status

private int[] status
Constructor Detail

TFileCompareStatus

public TFileCompareStatus(TFileProperties file)
Method Detail

addDifference

public void addDifference(int property)

getFile

public TFileProperties getFile()

isEqual

public boolean isEqual()

getTimeStat

public int getTimeStat()

getSizeStat

public int getSizeStat()

isOrphan

public boolean isOrphan()

setOrphan

public void setOrphan()

isNewer

public boolean isNewer()

hasLessSize

public boolean hasLessSize()