com.liferay.portal.kernel.io.delta
Class DeltaUtil
java.lang.Object
com.liferay.portal.kernel.io.delta.DeltaUtil
public class DeltaUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_FACTOR
public static final int BUFFER_FACTOR
- See Also:
- Constant Field Values
DATA_KEY
public static final byte DATA_KEY
- See Also:
- Constant Field Values
EOF_KEY
public static final byte EOF_KEY
- See Also:
- Constant Field Values
PROTOCOL_VERSION
public static final byte PROTOCOL_VERSION
- See Also:
- Constant Field Values
REFERENCE_KEY
public static final byte REFERENCE_KEY
- See Also:
- Constant Field Values
REFERENCE_RANGE_KEY
public static final byte REFERENCE_RANGE_KEY
- See Also:
- Constant Field Values
DeltaUtil
public DeltaUtil()
checksums
public static void checksums(FileChannel originalFileChannel,
ByteChannelWriter checksumsByteChannelWriter)
throws IOException
- Throws:
IOException
checksums
public static void checksums(FileChannel originalFileChannel,
ByteChannelWriter checksumsByteChannelWriter,
int blockLength)
throws IOException
- Throws:
IOException
delta
public static void delta(ReadableByteChannel modifiedReadableByteChannel,
ByteChannelReader checksumsByteChannelReader,
ByteChannelWriter deltaByteChannelWriter)
throws IOException
- Throws:
IOException
patch
public static void patch(FileChannel originalFileChannel,
WritableByteChannel patchedWritableByteChannel,
ByteChannelReader deltaByteChannelReader)
throws IOException
- Throws:
IOException