net.sf.jfilesync.sync2.syncer
Class SizeSyncMethod

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

public class SizeSyncMethod
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
SizeSyncMethod()
           
 
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

SizeSyncMethod

public SizeSyncMethod()
Method Detail

getMethodDescription

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

getMethodID

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

getMethodName

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

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:

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