public class JarDiffPatcher extends Object implements JarDiffConstants, Patcher
Patcher.PatchDelegate
INDEX_NAME, MOVE_COMMAND, REMOVE_COMMAND, VERSION_HEADER
Constructor and Description |
---|
JarDiffPatcher() |
Modifier and Type | Method and Description |
---|---|
void |
applyPatch(Patcher.PatchDelegate delegate,
String oldJarPath,
String jarDiffPath,
OutputStream result)
Applies a patch previously created with
createPatch . |
static ResourceBundle |
getResources() |
public static ResourceBundle getResources()
public void applyPatch(Patcher.PatchDelegate delegate, String oldJarPath, String jarDiffPath, OutputStream result) throws IOException
Patcher
createPatch
.
Pass in a delegate to be notified of the status of the patch.applyPatch
in interface Patcher
IOException
Copyright © 2005–2016 Sun Microsystems. All rights reserved.