net.sf.jfilesync.sync2.syncer
Class Md5SyncMethod

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

public class Md5SyncMethod
extends java.lang.Object
implements SyncMethod


Field Summary
 
Fields inherited from interface net.sf.jfilesync.sync2.SyncMethod
METHOD_MD5, METHOD_SHA1, METHOD_SIZE, METHOD_TIME
 
Constructor Summary
Md5SyncMethod()
           
 
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
 

Constructor Detail

Md5SyncMethod

public Md5SyncMethod()
Method Detail

getSyncAttributeComparator

public SyncAttributeComparator getSyncAttributeComparator()
Specified by:
getSyncAttributeComparator 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:

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

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