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, String oldJarPath, String deltaPath, OutputStream result)
          Applies a patch previously created with createPatch.
 

Method Detail

applyPatch

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

Throws:
IOException


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