net.sf.jfilesync.sync2
Interface SyncMethod

All Known Implementing Classes:
Md5SyncMethod, Sha1SyncMethod, SizeSyncMethod, TimeSyncMethod

public interface SyncMethod


Field Summary
static int METHOD_MD5
           
static int METHOD_SHA1
           
static int METHOD_SIZE
           
static int METHOD_TIME
           
 
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()
           
 

Field Detail

METHOD_TIME

static final int METHOD_TIME
See Also:
Constant Field Values

METHOD_SHA1

static final int METHOD_SHA1
See Also:
Constant Field Values

METHOD_MD5

static final int METHOD_MD5
See Also:
Constant Field Values

METHOD_SIZE

static final int METHOD_SIZE
See Also:
Constant Field Values
Method Detail

getSyncAttributeComparator

SyncAttributeComparator getSyncAttributeComparator()

getSyncOptions

SyncOptions getSyncOptions()
returns the SyncOptions for this method e.g., identical, newer_files, unique, etc.

Returns:

getMethodID

int getMethodID()

getMethodDescription

java.lang.String getMethodDescription()

getMethodName

java.lang.String getMethodName()

isApplicable

boolean isApplicable(ConnectionPlugin plugin1,
                     ConnectionPlugin plugin2)

requiresTimeStamps

boolean requiresTimeStamps()

applySyncSyncSettings

void applySyncSyncSettings(SyncSettings settings)