jnlp.sample.jardiff
Class JarDiff
java.lang.Object
jnlp.sample.jardiff.JarDiff
- All Implemented Interfaces:
- JarDiffConstants
public class JarDiff
- extends Object
- implements JarDiffConstants
JarDiff is able to create a jar file containing the delta between two
jar files (old and new). The delta jar file can then be applied to the
old jar file to reconstruct the new jar file.
Refer to the JNLP spec for details on how this is done.
- Version:
- 1.13, 06/26/03
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarDiff
public JarDiff()
getResources
public static ResourceBundle getResources()
createPatch
public static void createPatch(String oldPath,
String newPath,
OutputStream os,
boolean minimal)
throws IOException
- Creates a patch from the two passed in files, writing the result
to
os
.
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2005-2011 Sun Microsystems. All Rights Reserved.