jnlp.sample.jardiff
Interface Patcher

All Known Implementing Classes:
JarDiffPatcher

public interface Patcher

Patcher describes the necessary method to apply and create deltas.

Version:
1.8, 01/23/03

Nested Class Summary
static interface Patcher.PatchDelegate
          Callback used when patching a file.
 
Method Summary
 void applyPatch(Patcher.PatchDelegate delegate, java.lang.String oldJarPath, java.lang.String deltaPath, java.io.OutputStream result)
          Applies a patch previously created with createPatch.
 

Method Detail

applyPatch

void applyPatch(Patcher.PatchDelegate delegate,
                java.lang.String oldJarPath,
                java.lang.String deltaPath,
                java.io.OutputStream result)
                throws java.io.IOException
Applies a patch previously created with createPatch. Pass in a delegate to be notified of the status of the patch.

Throws:
java.io.IOException


Copyright © 2005-2010 Sun Microsystems. All Rights Reserved.