TrueUpdate Core 0.3

net.java.trueupdate.core.zip.patch
Class RawZipPatch

java.lang.Object
  extended by net.java.trueupdate.core.zip.patch.RawZipPatch

@ThreadSafe
public abstract class RawZipPatch
extends Object

Applies a ZIP patch file to an input ZIP file and writes an output ZIP file. Archives may be ZIP, JAR, EAR or WAR files. This class requires you to implement its ZipFile properties.

Author:
Christian Schlichtherle

Constructor Summary
RawZipPatch()
           
 
Method Summary
protected abstract  ZipInput diff()
          Returns the diff archive.
protected abstract  ZipInput input()
          Returns the input archive.
 void output(ZipOutput output)
          Applies the configured diff archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawZipPatch

public RawZipPatch()
Method Detail

diff

@WillNotClose
protected abstract ZipInput diff()
Returns the diff archive.


input

@WillNotClose
protected abstract ZipInput input()
Returns the input archive.


output

public void output(@WillNotClose
                   ZipOutput output)
            throws IOException
Applies the configured diff archive.

Throws:
IOException

TrueUpdate Core 0.3

Copyright © 2013 Schlichtherle IT Services. All rights reserved.