net.sf.jfilesync.sync2.syncer
Class TimeSyncMethod

java.lang.Object
  extended by net.sf.jfilesync.sync2.syncer.TimeSyncMethod
All Implemented Interfaces:
SyncMethod

public class TimeSyncMethod
extends java.lang.Object
implements SyncMethod


Field Summary
private static java.util.logging.Logger LOGGER
           
private  int modifyWindow
           
 
Fields inherited from interface net.sf.jfilesync.sync2.SyncMethod
METHOD_MD5, METHOD_SHA1, METHOD_SIZE, METHOD_TIME
 
Constructor Summary
TimeSyncMethod()
           
 
Method Summary
 void applySyncSyncSettings(SyncSettings settings)
           
 java.lang.String getMethodDescription()
           
 int getMethodID()
           
 java.lang.String getMethodName()
           
 SyncAttributeComparator getSyncAttributeComparator()
           
 SyncOptions getSyncOptions()
          returns the SyncOptions for this method e.g., identical, newer_files, unique, etc.
 boolean isApplicable(ConnectionPlugin plugin1, ConnectionPlugin plugin2)
           
 boolean requiresTimeStamps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final java.util.logging.Logger LOGGER

modifyWindow

private int modifyWindow
Constructor Detail

TimeSyncMethod

public TimeSyncMethod()
Method Detail

getSyncAttributeComparator

public SyncAttributeComparator getSyncAttributeComparator()
Specified by:
getSyncAttributeComparator in interface SyncMethod

getMethodID

public int getMethodID()
Specified by:
getMethodID in interface SyncMethod

getMethodDescription

public java.lang.String getMethodDescription()
Specified by:
getMethodDescription in interface SyncMethod

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in interface SyncMethod

getSyncOptions

public SyncOptions getSyncOptions()
Description copied from interface: SyncMethod
returns the SyncOptions for this method e.g., identical, newer_files, unique, etc.

Specified by:
getSyncOptions in interface SyncMethod
Returns:

isApplicable

public boolean isApplicable(ConnectionPlugin plugin1,
                            ConnectionPlugin plugin2)
Specified by:
isApplicable in interface SyncMethod

requiresTimeStamps

public boolean requiresTimeStamps()
Specified by:
requiresTimeStamps in interface SyncMethod

applySyncSyncSettings

public void applySyncSyncSettings(SyncSettings settings)
Specified by:
applySyncSyncSettings in interface SyncMethod