org.egothor.util.diff
Class Xdelta
java.lang.Object
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). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Xdelta
public Xdelta()
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