TrueUpdate Core 0.5

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 delta ZIP file to an input archive and generates an output archive. 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 delta()
          Returns the delta ZIP archive.
protected abstract  ZipInput input()
          Returns the input archive.
 void output(ZipOutput output)
          Applies the configured delta ZIP 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

delta

@WillNotClose
protected abstract ZipInput delta()
Returns the delta ZIP archive.


input

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


output

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

Throws:
IOException

TrueUpdate Core 0.5

Copyright © 2013 Schlichtherle IT Services. All rights reserved.