com.myJava.file.delta
Class LayerWriterDeltaProcessor
java.lang.Object
com.myJava.file.delta.LayerWriterDeltaProcessor
- All Implemented Interfaces:
- Constants, DeltaProcessor
public class LayerWriterDeltaProcessor
- extends java.lang.Object
- implements DeltaProcessor, Constants
Diff file format : Set of items, which are either :
[NEW_BYTES_SIGNATURE : 8 bytes][SIZE : 4 bytes][DATA : *SIZE* bytes]
or [FOUND_BLOCK_SIGNATURE : 8 bytes][FROM_POSITION : 8 bytes][TO_POSITION : 8 bytes]
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayerWriterDeltaProcessor
public LayerWriterDeltaProcessor(java.io.OutputStream out)
blockFound
public void blockFound(HashSequenceEntry entry,
LinkedList block)
throws DeltaProcessorException
- Specified by:
blockFound
in interface DeltaProcessor
- Throws:
DeltaProcessorException
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)
throws DeltaProcessorException
- Specified by:
newByte
in interface DeltaProcessor
- Throws:
DeltaProcessorException
bytesLost
public void bytesLost(long from,
long to)
throws DeltaProcessorException
- Specified by:
bytesLost
in interface DeltaProcessor
- Throws:
DeltaProcessorException
begin
public void begin()
throws DeltaProcessorException
- Specified by:
begin
in interface DeltaProcessor
- Throws:
DeltaProcessorException
end
public void end()
throws DeltaProcessorException
- Specified by:
end
in interface DeltaProcessor
- Throws:
DeltaProcessorException