TrueUpdate Core 0.1.7

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 patch archive to an input archive and writes an output archive. Archives may be ZIP, JAR, EAR or WAR files.

Author:
Christian Schlichtherle

Nested Class Summary
static class ZipPatch.Builder
          A builder for a ZIP patch.
 
Constructor Summary
ZipPatch()
           
 
Method Summary
 void applyTo(Sink outputArchive)
          Applies the configured patch archive.
static ZipPatch.Builder builder()
          Returns a new builder for a patch ZIP archive.
 
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

applyTo

public void applyTo(Sink outputArchive)
             throws IOException
Applies the configured patch archive.

Parameters:
outputArchive - the sink for writing the output archive.
Throws:
IOException

builder

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


TrueUpdate Core 0.1.7

Copyright © 2013 Stimulus Software. All rights reserved.