TrueUpdate Core 0.1.4

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

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

@NotThreadSafe
public abstract class ZipPatch
extends Object

Applies a ZIP patch file to an input ZIP file and writes an output ZIP file.

Author:
Christian Schlichtherle

Nested Class Summary
static class ZipPatch.Builder
          A builder for a ZIP patch.
 
Constructor Summary
ZipPatch()
           
 
Method Summary
 void applyPatchZipTo(Sink outputZip)
          Applies the configured patch ZIP file.
static ZipPatch.Builder builder()
          Returns a new builder for a ZIP patch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipPatch

public ZipPatch()
Method Detail

applyPatchZipTo

public final void applyPatchZipTo(Sink outputZip)
                           throws IOException
Applies the configured patch ZIP file.

Parameters:
outputZip - the sink for writing the output ZIP or JAR file.
Throws:
IOException

builder

public static ZipPatch.Builder builder()
Returns a new builder for a ZIP patch.


TrueUpdate Core 0.1.4

Copyright © 2013 Stimulus Software. All rights reserved.