public class Patcher
extends java.lang.Object
Constructor and Description |
---|
Patcher() |
Modifier and Type | Method and Description |
---|---|
void |
patch(java.nio.channels.FileChannel originalFileChannel,
java.nio.channels.WritableByteChannel patchedWritableByteChannel,
ByteChannelReader deltaByteChannelReader) |
protected void |
transfer(java.nio.channels.FileChannel source,
java.nio.channels.WritableByteChannel destination,
long position,
long length) |
public void patch(java.nio.channels.FileChannel originalFileChannel, java.nio.channels.WritableByteChannel patchedWritableByteChannel, ByteChannelReader deltaByteChannelReader) throws java.io.IOException
java.io.IOException
protected void transfer(java.nio.channels.FileChannel source, java.nio.channels.WritableByteChannel destination, long position, long length) throws java.io.IOException
java.io.IOException