public class JarDiffPatcher extends java.lang.Object implements JarDiffConstants, Patcher
Refer to the JNLP spec for details on how this is done.
Patcher.PatchDelegateINDEX_NAME, MOVE_COMMAND, REMOVE_COMMAND, VERSION_HEADER| Constructor and Description |
|---|
JarDiffPatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyPatch(Patcher.PatchDelegate delegate,
java.lang.String oldJarPath,
java.lang.String jarDiffPath,
java.io.OutputStream result)
Applies a patch previously created with
createPatch. |
public void applyPatch(Patcher.PatchDelegate delegate, java.lang.String oldJarPath, java.lang.String jarDiffPath, java.io.OutputStream result) throws java.io.IOException
PatchercreatePatch.
Pass in a delegate to be notified of the status of the patch.applyPatch in interface Patcherjava.io.IOExceptionCopyright © 2019 Anahata. All Rights Reserved.