org.egothor.util.diff
Class Xdelta

java.lang.Object
  extended by org.egothor.util.diff.Xdelta

public final class Xdelta
extends java.lang.Object


Field Summary
static int CHUNK_SIZE
          The source file is broken up into chunks of this length (ought to be 16).
static int CHUNK_STEP
          How many chunks are read once from the input? Greater value may improve performance.
static int DIFFERENT_SIZE
          Initial size of the data block that may be inserted into the original stream (will grow accordingly if needed).
 
Constructor Summary
Xdelta()
           
 
Method Summary
static void computeDelta(DataInput source, DataInput target, GDiffCreator output)
           
static void main(java.lang.String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHUNK_SIZE

public static final int CHUNK_SIZE
The source file is broken up into chunks of this length (ought to be 16).

See Also:
Constant Field Values

CHUNK_STEP

public static final int CHUNK_STEP
How many chunks are read once from the input? Greater value may improve performance.

See Also:
Constant Field Values

DIFFERENT_SIZE

public static final int DIFFERENT_SIZE
Initial size of the data block that may be inserted into the original stream (will grow accordingly if needed).

See Also:
Constant Field Values
Constructor Detail

Xdelta

public Xdelta()
Method Detail

computeDelta

public static void computeDelta(DataInput source,
                                DataInput target,
                                GDiffCreator output)
                         throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] arg)
                 throws java.lang.Throwable
Throws:
java.lang.Throwable