net.sf.jfilesync.sync2.syncer
Class HashSyncAttribute

java.lang.Object
  extended by net.sf.jfilesync.sync2.SyncAttribute
      extended by net.sf.jfilesync.sync2.syncer.HashSyncAttribute

public class HashSyncAttribute
extends SyncAttribute


Field Summary
private  byte[] hash
           
 
Fields inherited from class net.sf.jfilesync.sync2.SyncAttribute
HASH_ATTRIBUTE, TIME_ATTRIBUTE
 
Constructor Summary
HashSyncAttribute(byte[] hash)
           
 
Method Summary
 boolean equals(SyncAttribute attr)
           
 byte[] getDigest()
           
 int getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hash

private final byte[] hash
Constructor Detail

HashSyncAttribute

public HashSyncAttribute(byte[] hash)
Method Detail

getDigest

public byte[] getDigest()

equals

public boolean equals(SyncAttribute attr)
               throws UnknownAttributeException
Specified by:
equals in class SyncAttribute
Throws:
UnknownAttributeException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

public int getType()
Specified by:
getType in class SyncAttribute