com.myJava.file.delta
Class DefaultDeltaProcessor

java.lang.Object
  extended by com.myJava.file.delta.DefaultDeltaProcessor
All Implemented Interfaces:
DeltaProcessor

public class DefaultDeltaProcessor
extends java.lang.Object
implements DeltaProcessor


Author:
Olivier PETRUCCI

Areca Build ID : 7299034069467778562

Constructor Summary
DefaultDeltaProcessor()
           
 
Method Summary
 void begin()
           
 void blockFound(HashSequenceEntry entry, LinkedList block)
           
 void blockFound(long readFrom, long readTo)
           
 void bytesLost(long from, long to)
           
 void end()
           
 void newByte(byte data)
           
 void newBytes(byte[] data, int offset, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDeltaProcessor

public DefaultDeltaProcessor()
Method Detail

blockFound

public void blockFound(HashSequenceEntry entry,
                       LinkedList block)
Specified by:
blockFound in interface DeltaProcessor

blockFound

public void blockFound(long readFrom,
                       long readTo)
                throws DeltaProcessorException
Specified by:
blockFound in interface DeltaProcessor
Throws:
DeltaProcessorException

newBytes

public void newBytes(byte[] data,
                     int offset,
                     int len)
              throws DeltaProcessorException
Specified by:
newBytes in interface DeltaProcessor
Throws:
DeltaProcessorException

newByte

public void newByte(byte data)
Specified by:
newByte in interface DeltaProcessor

bytesLost

public void bytesLost(long from,
                      long to)
Specified by:
bytesLost in interface DeltaProcessor

begin

public void begin()
Specified by:
begin in interface DeltaProcessor

end

public void end()
Specified by:
end in interface DeltaProcessor