org.egothor.util.diff
Class GDiffDumpCreator

java.lang.Object
  extended by org.egothor.util.diff.GDiffDumpCreator
All Implemented Interfaces:
GDiffCreator

public class GDiffDumpCreator
extends java.lang.Object
implements GDiffCreator

Author:
Leo Galambos

Constructor Summary
GDiffDumpCreator()
          Creates a new instance of GDiffDumpCreator
 
Method Summary
 void addAppend(byte[] arr, int offset, int length)
           
 void addCopy(long offset, int length)
           
 void doEnd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDiffDumpCreator

public GDiffDumpCreator()
Creates a new instance of GDiffDumpCreator

Method Detail

addAppend

public void addAppend(byte[] arr,
                      int offset,
                      int length)
               throws java.io.IOException
Specified by:
addAppend in interface GDiffCreator
Throws:
java.io.IOException

addCopy

public void addCopy(long offset,
                    int length)
             throws java.io.IOException
Specified by:
addCopy in interface GDiffCreator
Throws:
java.io.IOException

doEnd

public void doEnd()
           throws java.io.IOException
Specified by:
doEnd in interface GDiffCreator
Throws:
java.io.IOException